Especially add it to the proxmox_vm_template_hosts group to ensure Proxmox VM template generation.
This commit is contained in:
parent
ca16e3d55f
commit
da6d44c95b
2 changed files with 15 additions and 0 deletions
|
@ -6,6 +6,11 @@ all:
|
||||||
authoritative-dns:
|
authoritative-dns:
|
||||||
ansible_host: authoritative-dns.z9.ccchh.net
|
ansible_host: authoritative-dns.z9.ccchh.net
|
||||||
ansible_user: chaos
|
ansible_user: chaos
|
||||||
|
thinkcccore0:
|
||||||
|
ansible_host: thinkcccore0.z9.ccchh.net
|
||||||
|
hypervisors:
|
||||||
|
hosts:
|
||||||
|
thinkcccore0:
|
||||||
nginx_hosts:
|
nginx_hosts:
|
||||||
hosts:
|
hosts:
|
||||||
light:
|
light:
|
||||||
|
@ -19,3 +24,6 @@ infrastructure_authorized_keys_hosts:
|
||||||
hosts:
|
hosts:
|
||||||
light:
|
light:
|
||||||
authoritative-dns:
|
authoritative-dns:
|
||||||
|
proxmox_vm_template_hosts:
|
||||||
|
hosts:
|
||||||
|
thinkcccore0:
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
- name: Ensure the VM template generation is set up
|
- name: Ensure the VM template generation is set up
|
||||||
hosts: proxmox_vm_template_hosts
|
hosts: proxmox_vm_template_hosts
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Ensure dependencies are present
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name:
|
||||||
|
- git
|
||||||
|
- libguestfs-tools
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Ensure /usr/local/{lib,sbin} exist
|
- name: Ensure /usr/local/{lib,sbin} exist
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue