diff options
author | carey.xu <carey.xuhan@huawei.com> | 2015-12-22 16:18:26 +0800 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2015-12-23 01:18:51 +0000 |
commit | ff1acb9305e5e13239a6ba7a30e99f8aa673514e (patch) | |
tree | 236bdabd23ba37b7c8f6965f936bbc0c9796629b /deploy/adapters/ansible/roles/cinder-volume/tasks/loop.yml | |
parent | 771c919d4aae01758ed54220288f12e4f64e35c7 (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/loop.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/cinder-volume/tasks/loop.yml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-volume/tasks/loop.yml b/deploy/adapters/ansible/roles/cinder-volume/tasks/loop.yml deleted file mode 100644 index b44253c4..00000000 --- a/deploy/adapters/ansible/roles/cinder-volume/tasks/loop.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- include_vars: "{{ ansible_os_family }}.yml" - -- name: get available /var partition size - script: get_var_size.sh - register: part_size - -- name: create cinder file if not exitst - script: create_img.sh {{ part_size.stdout }} - -- name: do a losetup on /mnt/cinder-volumes - script: losetup.sh - register: loop_device - -- name: debug loop device - debug: msg={{ loop_device.stdout }} - -- name: create physical and group volumes - lvg: vg=cinder-volumes pvs={{ loop_device.stdout }} - vg_options=--force |