Add lv removal to destroy_virt_inst.
This commit is contained in:
parent
ac332df165
commit
35a8ee820c
1 changed files with 3 additions and 1 deletions
|
@ -35,4 +35,6 @@
|
|||
action: virt name={{ inventory_hostname }} command=undefine
|
||||
delegate_to: "{{ vmhost }}"
|
||||
|
||||
|
||||
- name: destroy the lv
|
||||
command: /sbin/lvremove -f {{volgroup}}/{{inventory_hostname}}
|
||||
delegate_to: "{{ vmhost }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue