vn-ansible/roles/services/tasks/timeserver.yml

16 lines
310 B
YAML
Raw Normal View History

- 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