Add customizable NTP servers

This commit is contained in:
Joshua Boniface 2023-03-04 00:48:23 -05:00
parent 2a1e76f479
commit d94c0c25a7
2 changed files with 8 additions and 3 deletions

View File

@ -12,6 +12,10 @@ recursive_dns_servers:
recursive_dns_search_domains: recursive_dns_search_domains:
- "{{ local_domain }}" - "{{ local_domain }}"
ntp_servers:
- time.nrc.ca
- time.chu.nrc.ca
grub_cmdline: "console=tty0 console=ttyS{{ grub.serial_console[cluster_hardware].console }},115200 plymouth.ignore-serial-consoles splash" grub_cmdline: "console=tty0 console=ttyS{{ grub.serial_console[cluster_hardware].console }},115200 plymouth.ignore-serial-consoles splash"
grub_serial: "serial --unit={{ grub.serial_console[cluster_hardware].console }} --speed=115200" grub_serial: "serial --unit={{ grub.serial_console[cluster_hardware].console }} --speed=115200"

View File

@ -16,9 +16,10 @@ tos orphan 6
server 127.0.0.1 server 127.0.0.1
fudge 127.0.0.1 stratum 10 fudge 127.0.0.1 stratum 10
# NRC public NTP masters # NTP masters
server time.nrc.ca iburst {% for server in ntp_servers %}
server time.chu.nrc.ca iburst server {{ server }} iburst
{% endfor %}
# Local PVC cluster # Local PVC cluster
{% for host in groups[cluster_group] %} {% for host in groups[cluster_group] %}