summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-compute/tasks
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-08-22 02:20:01 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-08-22 02:20:01 +0000
commitfa0b0bebe9130e71f9b41659a233b61406eab884 (patch)
tree95d8e6b4ebf4561ecfdd785966a15f8e3c0e037d /deploy/adapters/ansible/roles/nova-compute/tasks
parentf51b76b181bf2c6e396fecbe8088ef23e8109389 (diff)
parent444407f6ff854b9a3dfa5c7ad50e4ac6495ed9fd (diff)
Merge "Neutron-related role in the compass-adapter should use the same template file"
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