aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-12-15 08:51:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-15 08:51:22 +0000
commitf61c75bab4c8c6c0b08765bef8b5f75e87db6565 (patch)
tree182b81536411051e2208e2ee2c1861446eb0e5a2 /deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks
parente547df4ebe7df64d971326b110d8c36b1dd3e096 (diff)
parent3b6e6b21e578a44504573aba2b8cfe1603879caa (diff)
Merge "Support expansion for newton"
Diffstat (limited to 'deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks')
-rw-r--r--deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks/main.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks/main.yml b/deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks/main.yml
index 7bb4f347..16315b36 100644
--- a/deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks/main.yml
+++ b/deploy/adapters/ansible/openstack_newton_xenial/roles/nova-compute/tasks/main.yml
@@ -30,13 +30,6 @@
state=absent
when: ansible_os_family == "Debian"
-- name: update nova-compute conf
- template: src=templates/{{ item }} dest=/etc/nova/{{ item }}
- with_items:
- - nova.conf
- notify:
- - restart nova-compute services
-
- name: get number of cpu support virtualization
shell: egrep -c '(vmx|svm)' /proc/cpuinfo
register: kvm_cpu_num
@@ -44,6 +37,7 @@
- name: update nova-compute conf
template: src={{ item }} dest=/etc/nova/{{ item }}
with_items:
+ - nova.conf
- nova-compute.conf
notify:
- restart nova-compute services