diff --git a/autoconfig.yaml b/autoconfig.yaml index 99f0f74..3d6a101 100644 --- a/autoconfig.yaml +++ b/autoconfig.yaml @@ -6,6 +6,7 @@ autoinstall: - network - proxy - storage + - *license early-commands: - curl http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/autoconfig.yaml > /autoinstall.yaml locale: "en_US.UTF-8" @@ -35,8 +36,10 @@ autoinstall: ansible: install_method: pip 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 + identity: + hostname: ldhost user-data: chpasswd: expire: false diff --git a/playbook/ld-install.yaml b/playbook/ld-install.yaml deleted file mode 100644 index 89ce905..0000000 --- a/playbook/ld-install.yaml +++ /dev/null @@ -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