2016-07-28 22:42:19 +08:00
|
|
|
---
|
|
|
|
- include: ../checks/check_ntp_atomic.yml
|
2016-07-29 07:43:48 +08:00
|
|
|
when: is_atomic
|
2016-07-28 22:42:19 +08:00
|
|
|
|
|
|
|
- name: start the ntp service
|
|
|
|
service:
|
|
|
|
name: chronyd
|
|
|
|
enabled: yes
|
|
|
|
state: started
|
|
|
|
when:
|
|
|
|
- ntp_pkg_query.rc == 0
|