|
|
|
|
|
|
|
|
|
|
|
|
|
|
lvm_{{ vg.get('name', vgname) }}_lv_{{ volume.get('name', lvname) }}: |
|
|
lvm_{{ vg.get('name', vgname) }}_lv_{{ volume.get('name', lvname) }}: |
|
|
lvm.lv_present: |
|
|
lvm.lv_present: |
|
|
|
|
|
- order: 1 |
|
|
- name: {{ volume.get('name', lvname) }} |
|
|
- name: {{ volume.get('name', lvname) }} |
|
|
- vgname: {{ vg.get('name', vgname) }} |
|
|
- vgname: {{ vg.get('name', vgname) }} |
|
|
- size: {{ volume.size }} |
|
|
- size: {{ volume.size }} |
|
|
|
|
|
- force: true |
|
|
- require: |
|
|
- require: |
|
|
- lvm: lvm_vg_{{ vg.get('name', vgname) }} |
|
|
- lvm: lvm_vg_{{ vg.get('name', vgname) }} |
|
|
{%- if volume.mount is defined %} |
|
|
{%- if volume.mount is defined %} |