From: Yifei Xue Date: Wed, 7 Feb 2018 10:15:02 +0000 (+0800) Subject: Bug fix for chrony X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=435cd3756a833db0515eb70c1d8ec4adca90950f;p=compass4nfv.git Bug fix for chrony JIRA: - OSA doesn't install chrony on compute nodes. This patch is proposed to install chrony on compute nodes. Change-Id: If2564f331e47beb97ef7e98e42cb4f848c28ba7f Signed-off-by: Yifei Xue --- diff --git a/deploy/adapters/ansible/roles/post-osa/tasks/Ubuntu.yml b/deploy/adapters/ansible/roles/post-osa/tasks/Ubuntu.yml index 5d53d234..0c3a6d10 100755 --- a/deploy/adapters/ansible/roles/post-osa/tasks/Ubuntu.yml +++ b/deploy/adapters/ansible/roles/post-osa/tasks/Ubuntu.yml @@ -1,4 +1,20 @@ --- +- name: stop ntp service + service: name=ntp state=stopped enabled=no + +- name: remove ntp + apt: + name: "ntp" + state: absent + +- name: install chrony + apt: + name: "chrony" + state: present + +- name: restart chrony + service: name=chrony state=restarted + - name: remove bridge ubuntu template: src: compute.j2