feat: add force time update to toolbox

This commit is contained in:
Simon Cornet 2025-11-10 15:16:45 +01:00
commit 8f0ab48d3b
3 changed files with 18 additions and 1 deletions

8
tasks/chrony.yaml Normal file
View 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