These instances served long and well as fallback resolvers for dnssec-trigger. This is no longer needed or used, so lets remove them. See https://pagure.io/fedora-infrastructure/issue/11415 Signed-off-by: Kevin Fenzi <kevin@scrye.com>
40 lines
1.4 KiB
Django/Jinja
40 lines
1.4 KiB
Django/Jinja
define hostgroup {
|
|
hostgroup_name dns
|
|
alias DNS Servers
|
|
members {% for host in vars['dns_external']|sort %}{{ host }}{% if not loop.last %}, {% endif %} {% endfor %}
|
|
|
|
}
|
|
|
|
define hostgroup {
|
|
hostgroup_name smtp_mm
|
|
alias SMTP MailMan Servers
|
|
members {% for host in groups["smtp_mm"]|sort %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %}
|
|
|
|
}
|
|
|
|
define hostgroup {
|
|
hostgroup_name proxies
|
|
alias Web Servers
|
|
members {% for host in groups["proxies_external"]|sort %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %}
|
|
|
|
}
|
|
|
|
define hostgroup {
|
|
hostgroup_name proxies_ocp4
|
|
alias OCP Web Servers
|
|
members {% for host in groups["proxies_ocp4"]|sort %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %}
|
|
|
|
}
|
|
|
|
{% for key, value in groups.items()|sort %}
|
|
{% if groups[key] != [] and key.startswith('copr') %}
|
|
define hostgroup {
|
|
hostgroup_name {{ key }}
|
|
alias {{ key }}
|
|
{%- for host in groups[key]|sort if hostvars[host].nagios_Can_Connect == true %}
|
|
{% if loop.first +%}
|
|
members {{ host }}{% else %}, {{ host }}{% endif %}
|
|
{% endfor +%}
|
|
}
|
|
{% endif %}
|
|
{% endfor %}
|