summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-12-23 09:39:12 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-23 09:39:12 +0000
commit6447ed5fe06bba5b973ba673780235d33c909302 (patch)
tree70c7df960962e6ffd8043f938779c1b98641b904 /deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
parent89a5321aa8d7981cc5422e72ba5827b710bac9ee (diff)
parentff1acb9305e5e13239a6ba7a30e99f8aa673514e (diff)
Merge "cinder volume use the vg created by storage role"
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml')
-rw-r--r--deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml12
1 files changed, 0 insertions, 12 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml b/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
index 342f61ae..3765071e 100644
--- a/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
@@ -9,18 +9,6 @@
lineinfile: dest=/opt/service create=yes line='{{ item }}'
with_items: services | union(services_noarch)
-- name: check if physical device exists
- stat: path={{ physical_device }}
- register: status
-
-- name: load loop.yml
- include: loop.yml
- when: status.stat.exists == False or status.stat.isblk == False
-
-- name: load real.yml
- include: real.yml
- when: status.stat.exists == True and status.stat.isblk == True
-
- name: upload cinder-volume configuration
template: src=cinder.conf dest=/etc/cinder/cinder.conf
backup=yes