summaryrefslogtreecommitdiff
path: root/roles/core/ntp/tasks/chrony.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/core/ntp/tasks/chrony.yml')
-rw-r--r--roles/core/ntp/tasks/chrony.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/core/ntp/tasks/chrony.yml b/roles/core/ntp/tasks/chrony.yml
new file mode 100644
index 00000000..d220af30
--- /dev/null
+++ b/roles/core/ntp/tasks/chrony.yml
@@ -0,0 +1,11 @@
+---
+- name: install chrony
+ apt:
+ name: chrony
+ state: present
+
+- name: install chrony configuration
+ template:
+ src: chrony.conf.j2
+ dest: /etc/chrony/chrony.conf
+ notify: restart chrony