]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
nameserver: Enable ntpd 297/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 8 Dec 2016 23:07:26 +0000 (18:07 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 16 Dec 2016 19:53:27 +0000 (14:53 -0500)
Required for dynamic DNS updates to work

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/nameserver/tasks/main.yml
roles/nameserver/vars/packages.yml

index 87fbdb89dcd2cb05de1889806e8d9bfb3eab2a9c..4c8d436ddcb0ed0f7147c2693280e052939007ed 100644 (file)
   tags:
     - packages
 
+- name: Enable and start ntpd
+  service:
+    name: ntpd
+    state: started
+    enabled: yes
+  tags:
+    - always
+
 # Configure firewalld
 - include: firewall.yml
   tags:
index 7f42b502c219d97010626827bd7a4a688ba6fc45..d8dad8c5ce9e7c880ad66e288bafe280b2074396 100644 (file)
@@ -13,3 +13,6 @@ packages:
   ## monitoring
   - nrpe
   - nagios-plugins-all
+  ## for NTP
+  - ntp
+  - ntpdate