summaryrefslogtreecommitdiff
path: root/playbooks/deploy-swarm-cluster.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/deploy-swarm-cluster.yml')
-rw-r--r--playbooks/deploy-swarm-cluster.yml12
1 files changed, 1 insertions, 11 deletions
diff --git a/playbooks/deploy-swarm-cluster.yml b/playbooks/deploy-swarm-cluster.yml
index 22dcdb7..945edb9 100644
--- a/playbooks/deploy-swarm-cluster.yml
+++ b/playbooks/deploy-swarm-cluster.yml
@@ -5,19 +5,9 @@
become: true
tasks:
- name: Enable Local Swarm Communications
- loop: "{{ rfc1918_cgnat_networks }}"
community.general.ufw:
rule: allow
- port: "2377"
- from: "{{ item }}"
- state: enabled
-
- - name: Enable Local Swarm Communications
- loop: "{{ rfc1918_cgnat_networks }}"
- community.general.ufw:
- rule: allow
- port: "9001"
- from: "{{ item }}"
+ from: "10.0.0.0/8"
state: enabled
- name: Setup swarm on init node