mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-08 14:15:48 +02:00
Fixed some swarm-related bugs
This commit is contained in:
parent
a68aa78972
commit
be6e60bb97
5 changed files with 28 additions and 1 deletions
|
|
@ -24,6 +24,15 @@
|
|||
rule: allow
|
||||
port: 2222
|
||||
|
||||
- name: Open necessary ports for Docker swarm communication.
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
port: "{{ item }}"
|
||||
loop:
|
||||
- 2377 # cluster management communications
|
||||
- 7946 # communication among nodes
|
||||
- 4789 # overlay network traffic
|
||||
|
||||
- name: Block everything else by default & enable firewall.
|
||||
community.general.ufw:
|
||||
default: deny
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue