add ntpd defaults

This commit is contained in:
Alin Trăistaru
2020-04-05 09:42:52 +03:00
parent 5cca71e8da
commit 604e581a97
6 changed files with 9 additions and 6 deletions

View File

@ -18,8 +18,8 @@
state: started
enabled: yes
- name: Ensure ntpd is started and autoruns
- name: "Ensure {{ matrix_ntpd_service }} is started and autoruns"
service:
name: "{{ 'ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp' }}"
name: "{{ matrix_ntpd_service }}"
state: started
enabled: yes