Actualizar roles/config-ntp/tasks/main.yaml
This commit is contained in:
parent
9b7b6f6476
commit
f4c4266510
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue