chore: minor syntax change

This commit is contained in:
Adrien Waksberg 2021-11-22 12:02:26 +01:00
parent c04be3941c
commit 0cd13ec31c

View file

@ -5,7 +5,7 @@
driver: '{{ item.value.driver|default("bridge") }}'
scope: swarm
state: '{{ item.value.state|default("present") }}'
loop: '{{ swarm_networks|dict2items() }}'
loop: '{{ swarm_networks|dict2items }}'
loop_control:
label: '{{ item.key }}'
tags: swarm
@ -24,7 +24,7 @@
env: '{{ item.value.env|default({}) }}'
container_labels: '{{ item.value.labels|default({}) }}'
state: '{{ item.value.state|default("present") }}'
loop: '{{ swarm_services|dict2items() }}'
loop: '{{ swarm_services|dict2items }}'
loop_control:
label: '{{ item.key }}'
tags: swarm