add playbook to remove docker swarm stack

This commit is contained in:
Pim Kunis 2023-07-22 12:38:12 +02:00
parent 5bb39c4491
commit b40c6ca579

View file

@ -0,0 +1,9 @@
---
- name: Remove a Docker swarm stack
hosts: manager
tasks:
- name: Remove the stack
docker_stack:
name: "{{ stack }}"
state: absent