summaryrefslogtreecommitdiff
path: root/roles/core/ntp/tasks/Debian_chrony.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-28 00:57:39 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-28 00:57:39 +0100
commit638189b7050d25fce30bf3f7d7c9ac6bafa8a760 (patch)
tree7dc42fc9049823a468e8f0163c419ace7041b201 /roles/core/ntp/tasks/Debian_chrony.yml
parentkubernetes/standalone: fix config hash annotation if role is included multipl... (diff)
parentcore/ntp: add support for openbsd (diff)
Merge branch 'topic/core-ntp'
Diffstat (limited to 'roles/core/ntp/tasks/Debian_chrony.yml')
-rw-r--r--roles/core/ntp/tasks/Debian_chrony.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/core/ntp/tasks/Debian_chrony.yml b/roles/core/ntp/tasks/Debian_chrony.yml
new file mode 100644
index 00000000..d220af30
--- /dev/null
+++ b/roles/core/ntp/tasks/Debian_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