Actualizar roles/config-ntp/tasks/main.yaml

This commit is contained in:
David Lopez 2024-08-24 10:49:49 +00:00
parent 9b7b6f6476
commit f4c4266510
1 changed files with 9 additions and 1 deletions

View File

@ -38,7 +38,15 @@
owner: root owner: root
group: root group: root
mode: '0644' mode: '0644'
notify: restart systemd-timesyncd - name: retocar fichero /etc/systemd/timesyncd.conf
lineinfile:
path: /etc/systemd/timesyncd.conf
regexp: '^#?FallbackNTP='
line: "FallbackNTP=ntp.roa.es"
owner: root
group: root
mode: '0644'
notify: restart systemd-timesyncd
# service should start on boot. # service should start on boot.
- name: service should start on boot - name: service should start on boot
service: service: