make it a role

This commit is contained in:
root
2021-08-26 03:13:18 +00:00
commit 390d6042ab
14 changed files with 487 additions and 0 deletions

11
tasks/main.yml Normal file
View File

@@ -0,0 +1,11 @@
---
- name: Install Nebula on all hosts
include: nebula.yml
- name: Deploy Lighthouse
include: lighthouse.yml
when: inventory_hostname in groups['nebula_lighthouse']
- name: Deploy Nebula Node
include: node.yml
when: inventory_hostname not in groups['nebula_lighthouse']