aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-02-07 18:15:02 +0800
committerYifei Xue <xueyifei@huawei.com>2018-02-24 10:30:40 +0800
commit435cd3756a833db0515eb70c1d8ec4adca90950f (patch)
treeccfed90ccd9c75271ad9e9c4940b7bfa2df90759 /deploy/adapters
parent9fa93b10be08946e208a2a143ed6dfe48a4a4ed6 (diff)
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 <xueyifei@huawei.com>
Diffstat (limited to 'deploy/adapters')
-rwxr-xr-xdeploy/adapters/ansible/roles/post-osa/tasks/Ubuntu.yml16
1 files changed, 16 insertions, 0 deletions
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