make it a role
This commit is contained in:
11
tasks/main.yml
Normal file
11
tasks/main.yml
Normal 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']
|
||||
Reference in New Issue
Block a user