There was an error while loading. Please reload this page.
1 parent 55a3fb8 commit 9888d40Copy full SHA for 9888d40
1 file changed
src/software/embedded/ansible/tasks/enable_ntp.yml
@@ -2,11 +2,12 @@
2
- name: Make sure NTP is enabled to sync time for set_up.yml
3
block:
4
- name: Enable automatic time synchronization
5
- ansible.builtin.command: timedatectl set-ntp on
+ ansible.builtin.command: sudo timedatectl set-ntp on
6
changed_when: true
7
8
- name: Ensure the systemd-timesyncd service is running and enabled
9
ansible.builtin.systemd_service:
10
name: systemd-timesyncd
11
state: started
12
- enabled: yes
+ enabled: yes
13
+
0 commit comments