From: Dan Mick Date: Tue, 4 Aug 2015 22:41:01 +0000 (-0700) Subject: testnode/tasks/ntp: make sure ntpd is started X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=470b7c91d7fa2a923eef9185ba76ee8f2d997692;p=ceph-cm-ansible.git testnode/tasks/ntp: make sure ntpd is started Tested with: $ ansible-playbook -i ../ceph-octo-secrets/ansible/inventory/octo --limit 'magna064*' --tag ntp-client testnodes.yml Fixes: #12603 Signed-off-by: Dan Mick --- diff --git a/roles/testnode/tasks/ntp.yml b/roles/testnode/tasks/ntp.yml index 6fd793e5..c5cd2b79 100644 --- a/roles/testnode/tasks/ntp.yml +++ b/roles/testnode/tasks/ntp.yml @@ -24,3 +24,9 @@ mode: 0644 notify: - restart ntp + +- name: Make sure ntpd is running. + service: + name: "{{ntp_service_name}}" + enabled: yes + state: started