aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-22 16:18:26 +0800
committerJustin chi <chigang@huawei.com>2015-12-23 01:18:51 +0000
commitff1acb9305e5e13239a6ba7a30e99f8aa673514e (patch)
tree236bdabd23ba37b7c8f6965f936bbc0c9796629b /deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
parent771c919d4aae01758ed54220288f12e4f64e35c7 (diff)
cinder volume use the vg created by storage role
JIRA: COMPASS-211 Change-Id: I6c6ec36bf015c663bd684ac8f48011397851877b Signed-off-by: carey.xu <carey.xuhan@huawei.com>
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