- name: Install CHRONY packages apt: name: chrony state: present install_recommends: no - name: Set CHRONY generic configuration template: src: timeserver_custom.conf dest: /etc/chrony/conf.d/custom.conf owner: root group: root mode: u=rw,g=r,o=r notify: restart-chrony