add per instance containers state
This commit is contained in:
parent
c973dce3c9
commit
15b2079d5a
@ -5,8 +5,8 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Create lxd containers
|
- name: Create lxd containers
|
||||||
community.general.lxd_container:
|
community.general.lxd_container:
|
||||||
name: '{{ item }}'
|
name: '{{ item.name }}'
|
||||||
state: started
|
state: '{{ item.state }}'
|
||||||
source:
|
source:
|
||||||
type: image
|
type: image
|
||||||
mode: pull
|
mode: pull
|
||||||
@ -17,10 +17,10 @@
|
|||||||
wait_for_ipv4_addresses: true
|
wait_for_ipv4_addresses: true
|
||||||
timeout: 600
|
timeout: 600
|
||||||
with_items:
|
with_items:
|
||||||
- haproxy
|
- { name: haproxy, state: started }
|
||||||
- gitea
|
- { name: gitea, state: started }
|
||||||
- freescout
|
- { name: freescout, state: started }
|
||||||
- pretalx
|
- { name: pretalx, state: stopped }
|
||||||
- name: Create haproxy port forwards
|
- name: Create haproxy port forwards
|
||||||
community.general.lxd_container:
|
community.general.lxd_container:
|
||||||
name: haproxy
|
name: haproxy
|
||||||
|
Loading…
Reference in New Issue
Block a user