summaryrefslogtreecommitdiff
path: root/playbooks/swarm-cluster.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/swarm-cluster.yml')
-rw-r--r--playbooks/swarm-cluster.yml24
1 files changed, 0 insertions, 24 deletions
diff --git a/playbooks/swarm-cluster.yml b/playbooks/swarm-cluster.yml
deleted file mode 100644
index 945edb9..0000000
--- a/playbooks/swarm-cluster.yml
+++ /dev/null
@@ -1,24 +0,0 @@
----
-
-- name: Configure Docker Swarm Firewall Rules
- hosts: swarm
- become: true
- tasks:
- - name: Enable Local Swarm Communications
- community.general.ufw:
- rule: allow
- from: "10.0.0.0/8"
- state: enabled
-
-- name: Setup swarm on init node
- hosts: swarm[0]
- become: true
- roles:
- - swarm-init
-
-- name: Join non-init nodes
- hosts: swarm:!swarm[0]
- become: true
- roles:
- - swarm-join
-