summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-compute/tasks
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-08-14 21:28:53 -0400
committerbaigk <baiguoku@huawei.com>2015-08-17 21:59:16 -0400
commit444407f6ff854b9a3dfa5c7ad50e4ac6495ed9fd (patch)
treed6a1f4faecf1350c7fe7e9c725447965c3c3f6c9 /deploy/adapters/ansible/roles/nova-compute/tasks
parentade17ce57eb08dbf262cb9b6f1893367e2832dc1 (diff)
Neutron-related role in the compass-adapter should use the same template file
JIRA: COMPASS-8 Change-Id: Ia7c2dc8d90a025950f84fdb92383be85e82f0cde Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-compute/tasks')
-rw-r--r--deploy/adapters/ansible/roles/nova-compute/tasks/main.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml b/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
index 14c5450d..f4bb373e 100644
--- a/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
@@ -6,9 +6,15 @@
with_items: packages | union(packages_noarch)
- name: update nova-compute conf
- template: src={{ item }} dest=/etc/nova/{{ item }}
+ template: src=templates/{{ item }} dest=/etc/nova/{{ item }}
with_items:
- nova.conf
+ notify:
+ - restart nova-compute services
+
+- name: update nova-compute conf
+ template: src={{ item }} dest=/etc/nova/{{ item }}
+ with_items:
- nova-compute.conf
notify:
- restart nova-compute services