9 lines
235 B
YAML
9 lines
235 B
YAML
|
---
|
||
|
- name: Restart the ntp server
|
||
|
service: name=ntp state=restarted enabled=yes
|
||
|
when: ntp_service_enabled | bool
|
||
|
|
||
|
- name: Restart the ntpd server
|
||
|
service: name=ntpd state=restarted enabled=yes
|
||
|
when: ntp_service_enabled | bool
|