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