feat: add force time update to toolbox
This commit is contained in:
parent
704b6f80e6
commit
8f0ab48d3b
3 changed files with 18 additions and 1 deletions
8
tasks/chrony.yaml
Normal file
8
tasks/chrony.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
|
||||
# force chrony time sync
|
||||
- name: "chrony - force time sync"
|
||||
ansible.builtin.shell:
|
||||
cmd: "command -v chronyc >/dev/null 2>&1 && chronyc makestep"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue