This commit is contained in:
Stephan Reinwald
2025-01-21 12:35:05 +01:00
parent c51ca6dd24
commit 724d4fa8ce
2 changed files with 4 additions and 23 deletions

View File

@@ -6,6 +6,7 @@ autoinstall:
- network - network
- proxy - proxy
- storage - storage
- *license
early-commands: early-commands:
- curl http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/autoconfig.yaml > /autoinstall.yaml - curl http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/autoconfig.yaml > /autoinstall.yaml
locale: "en_US.UTF-8" locale: "en_US.UTF-8"
@@ -35,8 +36,10 @@ autoinstall:
ansible: ansible:
install_method: pip install_method: pip
pull: pull:
url: http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/playbook/ld-install.yaml url: http://23.88.102.139/gitea/sre/ld-install.git
playbook_name: ld-install.yaml playbook_name: ld-install.yaml
identity:
hostname: ldhost
user-data: user-data:
chpasswd: chpasswd:
expire: false expire: false

View File

@@ -1,22 +0,0 @@
---
- name: ld-install
hosts: localhost
vars:
release: jammy
vars_prompt:
- name: license
prompt: LogoDIDACT LicenseID
private: false
tasks:
- name: Add LD repos
ansible.builtin.apt:
repo: "{{ item }}"
state: present
loop:
- # ld-install sources.list
- #deb [trusted=yes] http://archive.logodidact.com/packages/lic={{ license }}/logodidact/{{ release }} {{ release }} main universe restricted multiverse
- deb [trusted=yes] http://archive.logodidact.com/packages/lic={{ license }}/ubuntu/{{ release }} {{ release }} main universe restricted multiverse
- deb [trusted=yes] http://archive.logodidact.com/packages/lic={{ license }}/ubuntu/{{ release }}-security {{ release }}-security main universe restricted multiverse
- deb [trusted=yes] http://archive.logodidact.com/packages/lic={{ license }}/ubuntu/{{ release }}-updates {{ release }}-updates main universe restricted multiverse
- deb [trusted=yes] http://archive.logodidact.com/packages/lic={{ license }}/puppet/{{ release }} {{ release }} puppet7