Merge branch 'main' of git.patriot23.ru:135/role-systemd-timesyncd
# Conflicts: # tasks/main.yml
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
---
|
---
|
||||||
# handlers file for systemd-timesyncd
|
# handlers file for systemd-timesyncd
|
||||||
- name: "restart systemd-timesyncd"
|
- name: "restart systemd-timesyncd"
|
||||||
|
become: true
|
||||||
service:
|
service:
|
||||||
name: systemd-timesyncd.service
|
name: systemd-timesyncd.service
|
||||||
state: restarted
|
state: restarted
|
||||||
listen: systemd-timesyncd configuration changed
|
listen: systemd-timesyncd configuration changed
|
||||||
|
|
||||||
- name: "write adjtime"
|
- name: "write adjtime"
|
||||||
|
become: true
|
||||||
command: hwclock --systohc
|
command: hwclock --systohc
|
||||||
when: (ansible_virtualization_role == "host" or ansible_virtualization_role == "NA") and write_hwclock_on_change
|
when: (ansible_virtualization_role == "host" or ansible_virtualization_role == "NA") and write_hwclock_on_change
|
||||||
listen: systemd-timesyncd configuration changed
|
listen: systemd-timesyncd configuration changed
|
||||||
|
|||||||
Reference in New Issue
Block a user