blob: 6dd888ea12c6298d0678c5d9a70e18b66d5e44cc (
plain)
1
2
3
4
5
6
7
8
9
|
- name: Configuration du service NTP
template: src=ntp.conf.j2 dest=/etc/ntp.conf mode=644
notify: restart ntp
when: ansible_distribution == "CentOS"
- name: Configuration du service Chrony
template: src=chrony.conf.j2 dest=/etc/chrony.conf mode=644
notify: restart chrony
when: ansible_distribution == "Fedora"
|