---

- name: Install chrony
  apt: name=chrony

- name: Configure chrony
  template: src=chrony.conf.j2 dest=/etc/chrony/chrony.conf
  notify: Restart chrony