--- # tasks file for chrony_client - name: Install chrony ansible.builtin.apt: name: chrony state: present update_cache: yes # - name: Configure chrony client # ansible.builtin.template: # src: chrony.conf.j2 # dest: /etc/chrony/chrony.conf # owner: root # group: root # mode: "0644" # notify: Restart chrony - name: Enable and start chrony ansible.builtin.service: name: chrony state: started enabled: yes