Check if SSH key files defined when necessary
This commit is contained in:
parent
a77c52cf02
commit
9fc9c2abfb
|
@ -9,7 +9,8 @@
|
||||||
that:
|
that:
|
||||||
- monitored_dont|default(false) != true
|
- monitored_dont|default(false) != true
|
||||||
- monitored_by_nrpe == true or monitored_by_ssh == true
|
- monitored_by_nrpe == true or monitored_by_ssh == true
|
||||||
fail_msg: "Neither monitored_by_nrpe nor monitored_by_ssh set to True"
|
- monitored_by_ssh != true or monitored_ssh_key_files != []
|
||||||
|
fail_msg: "Sanity checks failed"
|
||||||
|
|
||||||
- name: Gather OS Specific Variables
|
- name: Gather OS Specific Variables
|
||||||
include_vars: "{{ item }}"
|
include_vars: "{{ item }}"
|
||||||
|
|
Loading…
Reference in a new issue