nagios-nrpe: configure server certificate for nrpe daemon
This commit is contained in:
parent
9fe7825499
commit
28851698e6
|
@ -87,6 +87,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* accounts, etc-git, evocheck, nagios-nrpe: multiple changes to not fail when run in check mode
|
* accounts, etc-git, evocheck, nagios-nrpe: multiple changes to not fail when run in check mode
|
||||||
* base: configure "/var/log" for servers that have a mount on it
|
* base: configure "/var/log" for servers that have a mount on it
|
||||||
* nagios-nrpe: configure allowed_hosts in template and make use of the 'nagios_nrpe_additional_allowed_hosts' var in inventory for additional IP
|
* nagios-nrpe: configure allowed_hosts in template and make use of the 'nagios_nrpe_additional_allowed_hosts' var in inventory for additional IP
|
||||||
|
* nagios-nrpe: configure server certificate for nrpe daemon
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
# Allowed IPs
|
# Allowed IPs
|
||||||
allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}
|
allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}
|
||||||
|
|
||||||
|
# SSL Certificate
|
||||||
|
ssl_cert_file=/etc/ssl/certs/{{ ansible_fqdn }}.crt
|
||||||
|
ssl_privatekey_file=/etc/ssl/private/{{ ansible_fqdn }}.key
|
||||||
|
|
||||||
{% if ansible_distribution_version is version_compare("7.2",'>=') %}
|
{% if ansible_distribution_version is version_compare("7.2",'>=') %}
|
||||||
# Allow older cipher suites for older Icinga version
|
# Allow older cipher suites for older Icinga version
|
||||||
ssl_cipher_list=ALL:!MD5:@STRENGTH:@SECLEVEL=0
|
ssl_cipher_list=ALL:!MD5:@STRENGTH:@SECLEVEL=0
|
||||||
|
|
Loading…
Reference in a new issue