This commit is contained in:
Matt Reeves 2024-10-13 16:39:05 -04:00
parent 5e34685a07
commit 169caf0b6b

View file

@ -10,12 +10,9 @@
state: present state: present
update_cache: yes update_cache: yes
- name: Configure timesyncd to use the router's NTP server using ini_file - name: Configure timesyncd to use the router's NTP server
ini_file: shell: sed -i '/^NTP=/c\NTP=10.0.0.1' /etc/systemd/timesyncd.conf
path: /etc/systemd/timesyncd.conf
section: Time
option: NTP
value: '10.0.0.1'
- name: Restart systemd-timesyncd to apply changes - name: Restart systemd-timesyncd to apply changes
systemd: systemd: