Compare commits

..

No commits in common. "main" and "1.0.2" have entirely different histories.
main ... 1.0.2

3 changed files with 3 additions and 13 deletions

View File

@ -8,7 +8,7 @@ namespace: norohind
name: nebula name: nebula
# The version of the collection. Must be compatible with semantic versioning # The version of the collection. Must be compatible with semantic versioning
version: 1.1.0 version: 1.0.2
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection # The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md readme: README.md

View File

@ -19,8 +19,6 @@ nebula_service_name_default: nebula
service_name_mapping: service_name_mapping:
- Debian: "nebula@config" - Debian: "nebula@config"
force_download: false
duration: duration:
nebula_groups: nebula_groups:

View File

@ -14,19 +14,11 @@
nebula_addr: "{{ nebula_addr + '/' + nebula_subnet }}" nebula_addr: "{{ nebula_addr + '/' + nebula_subnet }}"
- name: Set nebula service name - name: Set nebula service name
when: not force_download
tags: tags:
- installation - installation
set_fact: set_fact:
nebula_service_name: "{{ service_name_mapping[ansible_distribution] | default(nebula_service_name_default) }}" nebula_service_name: "{{ service_name_mapping[ansible_distribution] | default(nebula_service_name_default) }}"
- name: Set nebula service name
when: force_download
tags:
- installation
set_fact:
nebula_service_name: "{{ nebula_service_name_default }}"
- name: Create nebula config directory - name: Create nebula config directory
tags: tags:
- sign - sign
@ -39,7 +31,7 @@
mode: "0755" mode: "0755"
- name: Install nebula - name: Install nebula
when: ansible_distribution != "Ubuntu" and not force_download when: ansible_distribution != "Ubuntu"
tags: tags:
- installation - installation
ansible.builtin.package: ansible.builtin.package:
@ -47,7 +39,7 @@
state: present state: present
- name: Install nebula from GitHub - name: Install nebula from GitHub
when: ansible_distribution == "Ubuntu" or force_download when: ansible_distribution == "Ubuntu"
tags: tags:
- installation - installation
ansible.builtin.import_tasks: download-nebula.yaml ansible.builtin.import_tasks: download-nebula.yaml