1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00
ansible_role_ntp/tasks/config.yml

13 lines
299 B
YAML
Raw Normal View History

2018-12-28 15:10:34 +01:00
---
# Tasks file for config ntp daemon
- name: seting-up ntp config
2019-03-04 17:35:28 +01:00
become: yes
2018-12-28 15:10:34 +01:00
template:
src: ntp.conf.j2
dest: "{{ ntp_configfile }}"
owner: "{{ ntp_configfile_user }}"
group: "{{ ntp_configfile_group }}"
2018-12-28 15:16:21 +01:00
mode: 0644
2018-12-28 15:10:34 +01:00
notify: "Restart ntp daemons on {{ ansible_system }}"