NTP/ansible/files/index.html

38 lines
1 KiB
HTML
Raw Normal View History

<html>
<head>
<title>NTP server {{ ansible_hostname }}</title>
</head>
<body>
<h1>NTP server {{ ansible_hostname }}</h1>
<h2>BGP IPs</h2>
<ul>
<li>Default ip: <a href="http://[{{bgp_ipv6}}]">{{ bgp_ipv6 }} ({{ bgp_ipv6_fqdn }})</a></li>
<li>Backup ips:
<ul>
{% for host in groups['all'] -%}
{%- if host != inventory_hostname -%}
<li><a href="http://[{{ hostvars[host]['bgp_ipv6'] }}]">{{ hostvars[host]['bgp_ipv6'] }} ({{ hostvars[host]['bgp_ipv6_fqdn']}})</a></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>
<h2>Dashboard</h2>
<a href="https://grafana.k3s.fr/public-dashboards/24a007fe10d54667987c8a306e054612?orgId=1">Grafana dashboard</a>
<h2>Operator</h2>
About me: <a href="https://frank.villaro-dixon.eu">frank.villaro-dixon.eu</a>
</body>
</html>