Try to fix the task that manages the labels

This commit is contained in:
Andrea Dell'Amico 2020-10-23 17:31:00 +02:00
parent ced31ea97b
commit 37924b5019
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}'