NTP/ansible/files/index.html

20 lines
446 B
HTML
Raw Normal View History

<html>
<head>
<title>NTP server {{ ansible_hostname }}</title>
</head>
<body>
<h1>NTP server {{ ansible_hostname }}</h1>
<ul>
<li>Default ip: {{bgp_ipv6}}</li>
<li>Backup ips:
<ul>
{% for host in groups['all'] -%}
{%- if host != inventory_hostname -%}
<li>{{ hostvars[host]['bgp_ipv6'] }} ({{ host }})</li>
{% endif -%}
{% endfor %}
</ul>
</li>
</ul>
</body>
</html>