This commit is contained in:
2024-07-14 17:10:30 +02:00
parent c576404e25
commit 67601390fd

View File

@@ -131,7 +131,7 @@
- name: Copy the stack - name: Copy the stack
ansible.builtin.copy: ansible.builtin.copy:
content: "version: '3.8'" content: "version: '3.12'"
dest: /opt/stack.yml dest: /opt/stack.yml
when: inventory_hostname in groups['docker_swarm_manager'] when: inventory_hostname in groups['docker_swarm_manager']
@@ -151,7 +151,7 @@
name: cluster name: cluster
compose: compose:
- /opt/stack.yml - /opt/stack.yml
- version: '3.8' - version: '3.12'
# https://github.com/akhil/traefik-docker-swarm-example/blob/master/traefik.yml # https://github.com/akhil/traefik-docker-swarm-example/blob/master/traefik.yml
- services: - services:
traefik: traefik: