Pierre Riteau 9c6b4477f8 Support forcing time synchronisation
This adds support for forcing time synchronisation after configuring
chrony if ntp_force_sync is changed to True.

Change-Id: I4e0fd325e2ceb698f1f959bc060b68bd629750e0
Co-Authored-By: Will Szumski <will@stackhpc.com>
2024-10-07 22:41:09 +02:00

17 lines
367 B
YAML

---
- name: Validate configuration
include_tasks: validate.yml
when: '"validate" in ntp_actions'
- name: Pre-deploy preparation
include_tasks: prepare.yml
when: '"prepare" in ntp_actions'
- name: Deploy service
include_tasks: deploy.yml
when: '"deploy" in ntp_actions'
- name: Synchronise time
include_tasks: sync.yml
when: '"sync" in ntp_actions'