Browse Source

Creation of gre tunnels etc. is now its own play which spans over all hosts so all facts are agthered

Till Klocke 9 years ago
parent
commit
1df408df58
3 changed files with 11 additions and 4 deletions
  1. 3 2
      playbooks/mapserver.yml
  2. 6 0
      playbooks/mesh.yml
  3. 2 2
      playbooks/supernode.yml

+ 3 - 2
playbooks/mapserver.yml

@@ -1,6 +1,7 @@
 ---
+
+- include: mesh.yml
+
 - hosts: mapservers
   roles:
-  - ffdo.batman
-  - ffdo.mesh-interfaces
   - ffdo.mapserver

+ 6 - 0
playbooks/mesh.yml

@@ -0,0 +1,6 @@
+---
+
+- hosts: all
+  roles:
+  - ffdo.batman
+  - ffdo.mesh-interfaces

+ 2 - 2
playbooks/supernode.yml

@@ -1,9 +1,9 @@
 ---
 
+- include: mesh.yml
+
 - hosts: supernodes
   sudo: true
   roles:
-  - ffdo.batman
-  - ffdo.mesh-interfaces
   - ffdo.peering
   - ffdo.supernode