test
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user