nixos-servers/docker_swarm/playbooks/remove_stack.yml
2024-02-08 23:53:02 +01:00

9 lines
166 B
YAML

---
- name: Remove a Docker swarm stack
hosts: manager
tasks:
- name: Remove the stack
docker_stack:
name: "{{ stack }}"
state: absent