Files
Nebula-Ansible-Role/tasks/main.yml
Matt Burchett 1d0b31fe2f Adding clean_install option to role (#3)
add uninstall/clean install option
2021-08-26 21:26:11 -05:00

16 lines
381 B
YAML

---
- name: Uninstall Nebula (clean install)
include: uninstall.yml
when: nebula_clean_install
- 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']