feat: add init option for services
This commit is contained in:
parent
289da5c1db
commit
e33afe6ae6
2 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ wordpress:
|
|||
WORDPRESS_DB_PASSWORD: wordpress
|
||||
container_labels:
|
||||
region: FR
|
||||
init: false
|
||||
state: present
|
||||
```
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
limits: '{{ item.value.limits | default({}) }}'
|
||||
env: '{{ item.value.env | default({}) }}'
|
||||
container_labels: '{{ item.value.labels | default({}) }}'
|
||||
init: '{{ item.value.init | default(omit) }}'
|
||||
state: '{{ item.value.state | default("present") }}'
|
||||
loop: '{{ swarm_services | dict2items }}'
|
||||
loop_control:
|
||||
|
|
Loading…
Reference in a new issue