Signed-off-by: David Galloway <dgallowa@redhat.com>
``yum_timeout`` is an integer used to set the yum timeout. Defined in
``roles/common/defaults/main.yml``.
+``nagios_allowed_hosts`` should be a comma-separated list of hosts allowed to query NRPE. Override in the secrets repo.
+
The following variables are used to configure NRPE_ (Nagios Remote Plugin
Executor) on hosts in ``/etc/nagios/nrpe.cfg``. The system defaults differ between distros (``nrpe`` in
RHEL vs ``nagios-nrpe-server`` in Ubuntu). Setting these allows us to make
enable_epel: true
yum_timeout: 300
+
+# Override in secrets repo
+nagios_allowed_hosts: "127.0.0.1"
nrpe_user={{ nrpe_user }}
nrpe_group={{ nrpe_group }}
-# These should eventually be in a secrets group_var
-# 172. address is sepia nagios server
-# 10. address is octo nagios server
-allowed_hosts=127.0.0.1,172.21.0.33,10.8.0.8
+allowed_hosts={{ nagios_allowed_hosts }}
dont_blame_nrpe=0
debug=0
command_timeout=60