push swarm et MEP

This commit is contained in:
2024-07-14 16:11:48 +02:00
parent a26efe12e5
commit a5d394f7d1
14 changed files with 90 additions and 591 deletions

View File

@@ -64,10 +64,10 @@
# roles:
# - { role: geerlingguy.pip, tags: pip }
# - { role: geerlingguy.docker, tags: docker }
# - { role: asg1612.dockerswarm, tags: swarm }
roles:
- { role: geerlingguy.pip, tags: pip }
- { role: geerlingguy.docker, tags: docker }
- { role: asg1612.dockerswarm, tags: swarm }
tasks:
@@ -130,7 +130,7 @@
# state: touch
# when: inventory_hostname in groups['docker_swarm_manager']
- name: Copy using inline content
- name: Copy the stack
ansible.builtin.copy:
content: "version: '3.13'"
dest: /opt/stack.yml