make nebula-check script optional
This commit is contained in:
@@ -4,6 +4,7 @@ nebula_network_cidr: 24
|
|||||||
nebula_ca_cert_duration: "87600h0m0s" #10 years
|
nebula_ca_cert_duration: "87600h0m0s" #10 years
|
||||||
nebula_client_cert_duration: "43800h0m0s" #5 years
|
nebula_client_cert_duration: "43800h0m0s" #5 years
|
||||||
nebula_clean_install: false
|
nebula_clean_install: false
|
||||||
|
nebula_install_check_cron: yes
|
||||||
|
|
||||||
nebula_lighthouse_hostname: lighthouse
|
nebula_lighthouse_hostname: lighthouse
|
||||||
nebula_lighthouse_internal_ip_addr: 192.168.77.1
|
nebula_lighthouse_internal_ip_addr: 192.168.77.1
|
||||||
|
|||||||
@@ -69,9 +69,11 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
when: nebula_install_check_cron
|
||||||
|
|
||||||
- name: Ensure nebula-check is scheduled via cron
|
- name: Ensure nebula-check is scheduled via cron
|
||||||
cron:
|
cron:
|
||||||
name: "nebula-check"
|
name: "nebula-check"
|
||||||
minute: "*/5"
|
minute: "*/5"
|
||||||
job: "/opt/nebula/nebula-check.sh"
|
job: "/opt/nebula/nebula-check.sh"
|
||||||
|
when: nebula_install_check_cron
|
||||||
|
|||||||
Reference in New Issue
Block a user