summaryrefslogtreecommitdiff
path: root/roles/core/ntp/tasks/Debian_openntpd.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-28 00:23:57 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-28 00:52:04 +0100
commitf48418655de11512d54f596c516dbdb101f6d925 (patch)
tree7dc42fc9049823a468e8f0163c419ace7041b201 /roles/core/ntp/tasks/Debian_openntpd.yml
parentcore/ntp role add systemd-timesyncd and openntpd (diff)
core/ntp: add support for openbsd
Diffstat (limited to 'roles/core/ntp/tasks/Debian_openntpd.yml')
-rw-r--r--roles/core/ntp/tasks/Debian_openntpd.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/core/ntp/tasks/Debian_openntpd.yml b/roles/core/ntp/tasks/Debian_openntpd.yml
new file mode 100644
index 00000000..76f62646
--- /dev/null
+++ b/roles/core/ntp/tasks/Debian_openntpd.yml
@@ -0,0 +1,11 @@
+---
+- name: install openntpd
+ apt:
+ name: openntpd
+ state: present
+
+- name: install openntpd configuration
+ template:
+ src: openntpd.conf.j2
+ dest: /etc/openntpd/ntpd.conf
+ notify: restart openntpd