@@ -1,9 +1,15 @@
---
- name: restart ntpd
- service: name=ntpd state=restarted enabled=yes
+ service:
+ name=ntpd
+ state=restarted
+ enabled=yes
- name: restart chrony
- service: name=chronyd state=restarted enabled=yes
+ name=chronyd
- name: sync ntp clocks
command: ntpdc -np
@@ -1,4 +1,2 @@
-- name: enable required repos
- include_tasks: base.yml
- name: deploy time ntp/chrony
include_tasks: ntp.yml