Try to fix the task that manages the labels
This commit is contained in:
parent
ced31ea97b
commit
37924b5019
|
@ -48,7 +48,7 @@
|
||||||
docker_node:
|
docker_node:
|
||||||
hostname: '{{ ansible_hostname }}'
|
hostname: '{{ ansible_hostname }}'
|
||||||
labels:
|
labels:
|
||||||
'{{ item.key }}': '{{ item.value }}'
|
{{ item.key }}: '{{ item.value }}'
|
||||||
labels_state: '{{ docker_label_state_mode }}'
|
labels_state: '{{ docker_label_state_mode }}'
|
||||||
with_items: '{{ docker_node_labels }}'
|
with_items: '{{ docker_node_labels }}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue