This commit is contained in:
2024-07-28 20:08:12 +02:00
parent e098af7290
commit f4b74d180e

View File

@@ -151,6 +151,11 @@
# run_once: true # run_once: true
# when: inventory_hostname in groups['docker_swarm_manager'] # when: inventory_hostname in groups['docker_swarm_manager']
- name: Remove stack
docker_stack:
name: cluster
state: absent
- name: Deploy stack from a compose file - name: Deploy stack from a compose file
community.docker.docker_stack: community.docker.docker_stack:
state: present state: present