ansible-role-nebula/tasks/main.yml
Louis Abel 1be345119f
Startup nebula ansible role
* Provide most options for nebula config
* Provide ability for future modifications to use other distros
* Provide information on usable variables in README
2024-04-18 18:30:15 -07:00

36 lines
989 B
YAML

---
- name: Determine if system is supported
ansible.builtin.import_tasks: determine_os.yml
- name: Determine if system is the CA
ansible.builtin.import_tasks: determine_ca.yml
when: nebula_ca_host is not defined
- name: Determine the system IP address
ansible.builtin.import_tasks: determine_ip.yml
when:
- nebula_am_lighthouse|bool
- nebula_routable_ip is not defined
- name: Prechecks for everything else
ansible.builtin.import_tasks: precheck.yml
when: nebula_is_member|bool
- name: Install nebula via package manager
ansible.builtin.import_tasks: install_pkg.yml
when: nebula_use_native_package|bool
- name: Install nebula via download
ansible.builtin.import_tasks: install_download.yml
when:
- not nebula_use_native_package|bool
- name: Install nebula CA
ansible.builtin.import_tasks: setup_ca.yml
when: nebula_is_ca|bool
- name: Configure member of mesh
ansible.builtin.import_tasks: setup_member.yml
when: nebula_is_member|bool
...