22- name : Provision Proxmox LXCs
33 hosts : localhost
44 connection : local
5- gather_facts : no
5+ gather_facts : false
66 # If you need to explicitly define your vault and LXC settings paths
77 # vars_files:
88 # - /path/to/vars/proxmox-vault.yml
99 # - /path/to/vars/lxcs.yml
1010 tasks :
1111 - name : Run proxmox_provision role for each container
12- include_role :
12+ ansible.builtin. include_role :
1313 name : sbarbett.proxmox_management.proxmox_provision
1414 vars :
1515 container : " {{ item }}"
1818- name : Populate dynamic inventory with container hosts
1919 hosts : localhost
2020 connection : local
21- gather_facts : no
21+ gather_facts : false
2222 # vars_files:
2323 # - /path/to/vars/proxmox-vault.yml
2424 # - /path/to/vars/lxcs.yml
2525 tasks :
2626 - name : Run container_setup inventory tasks for each container
27- include_role :
27+ ansible.builtin. include_role :
2828 name : sbarbett.proxmox_management.container_inventory
2929 tasks_from : inventory.yml
3030 vars :
3333
3434- name : Run initial container setup
3535 hosts : proxmox_containers
36- gather_facts : no
37- become : yes
38- roles :
36+ gather_facts : false
37+ become : true
38+ roles :
3939 - role : sbarbett.proxmox_management.container_setup
4040
4141- name : Run extras configuration on containers
4242 hosts : proxmox_containers_extras
43- gather_facts : yes
44- become : yes
45- roles :
43+ gather_facts : false
44+ become : true
45+ roles :
4646 - role : sbarbett.proxmox_management.container_extras
4747
4848- name : Run docker setup on provisioned containers
4949 hosts : proxmox_containers_docker
50- gather_facts : yes
50+ gather_facts : false
5151 roles :
5252 - role : geerlingguy.docker
5353 vars :
6767
6868- name : Run docker container setup on provisioned containers
6969 hosts : proxmox_containers_docker
70- gather_facts : yes
71- become : yes
72- roles :
73- - role : sbarbett.proxmox_management.docker_compose
70+ gather_facts : false
71+ become : true
72+ roles :
73+ - role : sbarbett.proxmox_management.docker_compose
0 commit comments