improve website again

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
Frank Villaro-Dixon 2024-06-24 19:29:31 +02:00
parent 9a5fe558e4
commit 06b937e797
2 changed files with 11 additions and 2 deletions

View file

@ -6,12 +6,12 @@
<h1>NTP server {{ ansible_hostname }}</h1> <h1>NTP server {{ ansible_hostname }}</h1>
<h2>BGP IPs</h2> <h2>BGP IPs</h2>
<ul> <ul>
<li>Default ip: {{bgp_ipv6}}</li> <li>Default ip: <a href="http://[{{bgp_ipv6}}]">{{ bgp_ipv6 }} ({{ bgp_ipv6_fqdn }})</a></li>
<li>Backup ips: <li>Backup ips:
<ul> <ul>
{% for host in groups['all'] -%} {% for host in groups['all'] -%}
{%- if host != inventory_hostname -%} {%- if host != inventory_hostname -%}
<li>{{ hostvars[host]['bgp_ipv6'] }} ({{ host }})</li> <li><a href="http://[{{ hostvars[host]['bgp_ipv6'] }}]">{{ hostvars[host]['bgp_ipv6'] }} ({{ hostvars[host]['bgp_ipv6_fqdn']}})</a></li>
{% endif -%} {% endif -%}
{% endfor %} {% endfor %}
</ul> </ul>
@ -28,5 +28,11 @@
<li>{{ ntp_server }}</li> <li>{{ ntp_server }}</li>
{% endfor %} {% endfor %}
</ul> </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> </body>
</html> </html>

View file

@ -5,6 +5,7 @@ pi:
bgp_asn: 64600 bgp_asn: 64600
bgp_router_asn: 65100 bgp_router_asn: 65100
bgp_ipv6: 2a01:e0a:431:b527::a123 bgp_ipv6: 2a01:e0a:431:b527::a123
bgp_ipv6_fqdn: chronos.ntp.k3s.fr
ntp_servers: ntp_servers:
- ntp-s2-cra.lan.k3s.fr - ntp-s2-cra.lan.k3s.fr
- ntp-s2-ces.lan.k3s.fr - ntp-s2-ces.lan.k3s.fr
@ -20,6 +21,7 @@ vms:
bgp_asn: 64601 bgp_asn: 64601
bgp_router_asn: 65100 bgp_router_asn: 65100
bgp_ipv6: 2a01:e0a:431:b527::b123 bgp_ipv6: 2a01:e0a:431:b527::b123
bgp_ipv6_fqdn: ntp-s2-cra.ntp.k3s.fr
ntp_servers: ntp_servers:
- chronos.lan.k3s.fr - chronos.lan.k3s.fr
- ntp-s2-ces.lan.k3s.fr - ntp-s2-ces.lan.k3s.fr
@ -36,6 +38,7 @@ vms:
bgp_asn: 64602 bgp_asn: 64602
bgp_router_asn: 65000 bgp_router_asn: 65000
bgp_ipv6: 2a0e:e701:122c:fff0::a123 bgp_ipv6: 2a0e:e701:122c:fff0::a123
bgp_ipv6_fqdn: ntp-s2-ces.ntp.k3s.fr
ntp_servers: ntp_servers:
- chronos.lan.k3s.fr - chronos.lan.k3s.fr
- ntp-s2-cra.lan.k3s.fr - ntp-s2-cra.lan.k3s.fr