Skip to content

Commit

Permalink
Fix swarm role (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasashiShioyama committed Aug 10, 2023
1 parent e92d3d9 commit cee4c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive_builder/playbooks/roles/swarm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
- name: insert rule
shell: ip6tables -t nat -I POSTROUTING -o docker_gwbridge -s ::/0 -d ::/0 -m addrtype --src-type LOCAL -j MASQUERADE
become: yes
when: check.rc != 0 and hive_internal_cidr_v6 is defined
when: hive_internal_cidr_v6 is defined and check.rc != 0

- name: insert masquarade rule in filter table for docker_gwbridge and make setting persistent
blockinfile:
Expand Down

0 comments on commit cee4c4a

Please sign in to comment.