xbazzi e7ba86f10a
All checks were successful
Simple Mirror to GitHub / mirror (push) Successful in 35s
Feat: add scylladb + a bunch of stuff I forgot to commit earlier
2025-08-21 23:43:52 -06:00

8 lines
266 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 }}"
when: "'swarm_manager' in hostvars[inventory_hostname]['vm_roles']"