7 lines
196 B
YAML
7 lines
196 B
YAML
---
|
|
- name: Set node labels on all Swarm nodes
|
|
community.docker.docker_node:
|
|
hostname: "{{ item.name }}"
|
|
labels: "{{ item.labels }}"
|
|
labels_state: replace
|
|
loop: "{{ swarm_nodes }}" |