Skip to content

Commit

Permalink
Fix public_network variable in task_swarm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Nov 15, 2024
1 parent 560ee7a commit 4141dfd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

- name: "Docker Swarm: Initial Setup"
block:

- name: "Docker Swarm: Init Swarm"
community.docker.docker_swarm:
state: present
Expand All @@ -17,12 +16,12 @@
block:
- name: "Docker Swarm: Check for public network"
community.docker.docker_network_info:
name: "{{ cookiecutter.__devops_swarm_public_network }}"
name: "{{ swarm.public_network }}"
register: docker_swarm_net_public

- name: "Docker Swarm: Create public network"
community.docker.docker_network:
name: "{{ cookiecutter.__devops_swarm_public_network }}"
name: "{{ swarm.public_network }}"
internal: false
attachable: true
driver: overlay
Expand Down

0 comments on commit 4141dfd

Please sign in to comment.