Files
fedora-infra_ansible/roles/chrony/tasks/main.yml
Kevin Fenzi 9f6463ce8f chrony: add handler to restart on config changes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-16 12:01:22 -07:00

23 lines
374 B
YAML

- name: install chrony
package: name=chrony state=present
tags:
- chrony
- package
- base
- name: install chrony.conf
template: src=chrony.conf.j2 dest=/etc/chrony.conf
notify:
- restart chronyd
tags:
- chrony
- config
- base
- name: Start and enable chrony
service: name=chronyd state=started enabled=yes
tags:
- chrony
- service
- base