aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-16 16:51:54 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-01-16 16:51:54 +0800
commit4113bc2656c86f6057dcf3bc5f18ac1e3619fd45 (patch)
tree6087160dbbdfae0d23fe7b739cede2e549298ad6 /deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
parent717887c33a1abdb47bf4cf1e927c7a8b02fd63bd (diff)
bugfix: opencontrail neutron and nova plugins code
JIRA: COMPASS-274 Change-Id: I6ee4b9fac51a0fc5f4ac9916ea16ab9d363ec943 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks/main.yml')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
index d2c69600..2544b0ff 100755
--- a/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
@@ -2,6 +2,11 @@
- include_vars: "{{ ansible_os_family }}.yml"
+- name: Disable Service Daemon
+ template:
+ src: "/opt/service"
+ dest: "/opt/service.backup"
+
- name: Install common on all hosts for Open Contrail
include: install/install-common.yml
when: groups['opencontrail_control']|length !=0
@@ -97,6 +102,10 @@
include: provision/provision-compute.yml
when: inventory_hostname in groups['opencontrail_compute']
+- name: Enable Service Daemon
+ template:
+ src: "/opt/service.backup"
+ dest: "/opt/service"
#- name: Provision tsn for Open Contrail
# include: provision/provision-tsn.yml