Add customizable NTP servers

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:29 -04:00
parent 2c63500011
commit efeaa61e0f
2 changed files with 8 additions and 3 deletions

View File

@ -12,6 +12,10 @@ recursive_dns_servers:
recursive_dns_search_domains:
- "{{ 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_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
fudge 127.0.0.1 stratum 10
# NRC public NTP masters
server time.nrc.ca iburst
server time.chu.nrc.ca iburst
# NTP masters
{% for server in ntp_servers %}
server {{ server }} iburst
{% endfor %}
# Local PVC cluster
{% for host in groups[cluster_group] %}