32 lines
No EOL
672 B
HTML
32 lines
No EOL
672 B
HTML
<html>
|
|
<head>
|
|
<title>NTP server {{ ansible_hostname }}</title>
|
|
</head>
|
|
<body>
|
|
<h1>NTP server {{ ansible_hostname }}</h1>
|
|
<h2>BGP IPs</h2>
|
|
<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>
|
|
|
|
|
|
<h2>NTP sources</h2>
|
|
<ul>
|
|
{% if ansible_hostname == "chronos" %}
|
|
<li>GPS PPS</li>
|
|
{% endif %}
|
|
{% for ntp_server in ntp_servers %}
|
|
<li>{{ ntp_server }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</body>
|
|
</html> |