Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
d547c7f607
commit
096a3e0540
69 changed files with 1650 additions and 0 deletions
11
templates/nagios/conf.d/hosts.cfg.j2
Normal file
11
templates/nagios/conf.d/hosts.cfg.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
{{ ansible_managed | comment }}
|
||||
|
||||
{% for host in nagios_hosts | default([]) %}
|
||||
define host {
|
||||
use {{ host['use'] }}
|
||||
host_name {{ host['host_name'] }}
|
||||
alias {{ host['alias'] }}
|
||||
address {{ host['address'] }}
|
||||
}
|
||||
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue