Browse Source

set up ntp server on nas

Blaine Story 8 months ago
parent
commit
f119a9556f
1 changed files with 8 additions and 0 deletions
  1. 8 0
      plays/nas-services.yml

+ 8 - 0
plays/nas-services.yml

@@ -9,6 +9,7 @@
     - rtl_433
     - cloud-backups
     - statusservices
+    - linux-system-roles.timesync
     #- linux-system-roles.firewall # fw is disabled for homeassistant
     #- linux-system-roles.metrics
 
@@ -185,6 +186,13 @@
           - 8840:8840
 
 
+    timesync_ntp_servers:
+      - hostname: 2.centos.pool.ntp.org
+        iburst: true
+        pool: true
+
+    timesync_chrony_custom_settings:
+      - "allow 10.0.0.0/24"
 
     metrics_monitored_hosts:
       - nas.home.arpa