Add lv removal to destroy_virt_inst.

This commit is contained in:
Ralph Bean 2014-10-13 16:24:27 +00:00
parent ac332df165
commit 35a8ee820c

View file

@ -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 }}"