mirror of
https://github.com/roles-ansible/ansible_role_ntp.git
synced 2024-08-16 12:59:49 +02:00
16 lines
359 B
YAML
16 lines
359 B
YAML
|
---
|
||
|
# Tasks file for config ntp daemon
|
||
|
|
||
|
- name: Define timezone to use
|
||
|
timezone:
|
||
|
name: "{{ ntp_timezone }}"
|
||
|
|
||
|
- name: seting-up ntp config
|
||
|
template:
|
||
|
src: ntp.conf.j2
|
||
|
dest: "{{ ntp_configfile }}"
|
||
|
owner: "{{ ntp_configfile_user }}"
|
||
|
group: "{{ ntp_configfile_group }}"
|
||
|
mode: 644
|
||
|
notify: "Restart ntp daemons on {{ ansible_system }}"
|