base: Install OpenNTPd rather than ntp.org
authornicoo <nicoo@realraum.at>
Sat, 16 Jun 2018 18:14:45 +0000 (20:14 +0200)
committernicoo <nicoo@realraum.at>
Sun, 17 Jun 2018 14:27:56 +0000 (16:27 +0200)
ansible/roles/base/tasks/main.yml

index 919b2aa..155f03b 100644 (file)
@@ -70,7 +70,6 @@
       - lsof
       - haveged
       - net-tools
-      - ntp
       - screen
       - aptitude
       - unp
       - python-apt
     state: present
 
+- name: check that ISC ntpd is not installed
+  apt:
+    name: ntp
+    state: absent
+    purge: yes
+
+- name: install openntpd
+  apt:
+    name: openntpd
+
 - name: make sure grml-(etc|scripts)-core is not installed
   apt:
     name: