summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-compute/tasks
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2015-12-15 10:48:10 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-15 10:48:10 +0000
commit25cf6081b5cef33aec03fe76093dd7b87d11c249 (patch)
tree848a6ba02e920e8a1b87ab2a34ca048232efee7a /deploy/adapters/ansible/roles/nova-compute/tasks
parent0bf472e8826fe526516b141b124bc7b77cbd9541 (diff)
parentd31ab14e9c9fb8cb715fea4a468c71ae8b11dc5e (diff)
Merge "disable NetworkManager on centos"
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-compute/tasks')
-rw-r--r--deploy/adapters/ansible/roles/nova-compute/tasks/main.yml2
1 files changed, 1 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 f4bb373e..45dab3f8 100644
--- a/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
@@ -20,7 +20,7 @@
- restart nova-compute services
- name: generate neutron control service list
- shell: echo {{ item }} >> /opt/service
+ lineinfile: dest=/opt/service create=yes line='{{ item }}'
with_items: services | union(services_noarch)
- meta: flush_handlers