Merge pull request #4 from mattburchett/master
Only running on specified nebula hosts
This commit is contained in:
@@ -1,15 +1,18 @@
|
|||||||
---
|
---
|
||||||
- name: Uninstall Nebula (clean install)
|
- name: Nebula Install
|
||||||
include: uninstall.yml
|
block:
|
||||||
when: nebula_clean_install
|
- name: Uninstall Nebula (clean install)
|
||||||
|
include: uninstall.yml
|
||||||
|
when: nebula_clean_install
|
||||||
|
|
||||||
- name: Install Nebula on all hosts
|
- name: Install Nebula on all hosts
|
||||||
include: nebula.yml
|
include: nebula.yml
|
||||||
|
|
||||||
- name: Deploy Lighthouse
|
- name: Deploy Lighthouse
|
||||||
include: lighthouse.yml
|
include: lighthouse.yml
|
||||||
when: inventory_hostname in groups['nebula_lighthouse']
|
when: inventory_hostname in groups['nebula_lighthouse']
|
||||||
|
|
||||||
- name: Deploy Nebula Node
|
- name: Deploy Nebula Node
|
||||||
include: node.yml
|
include: node.yml
|
||||||
when: inventory_hostname not in groups['nebula_lighthouse']
|
when: inventory_hostname not in groups['nebula_lighthouse']
|
||||||
|
when: inventory_hostname in groups['nebula_lighthouse'] or nebula_internal_ip_addr is defined
|
||||||
|
|||||||
Reference in New Issue
Block a user