ansible-role-nebula/tasks/main.yml

36 lines
989 B
YAML
Raw Permalink Normal View History

---
- 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
...