---
- name: Restart chrony
  service:
    name: chrony
    state: restarted
  become: yes

- name: Stop chrony
  service:
    name: chrony
    state: stopped
  become: yes
