virsh pool-destroy is hanging, remove /home/stack/.config/libvirt instead

* we found that when ansible executes "virsh pool-destroy" it can hang.
Replace the virsh command with a remove of .config/libvirt

Change-Id: Id3bb6b859d171872663da6402bc3e5b9c8949947
This commit is contained in:
Wes Hayutin 2016-09-07 00:19:43 -04:00
parent 5f9a87a216
commit f96162f29d
1 changed files with 2 additions and 3 deletions

View File

@ -53,10 +53,9 @@
sudo: yes
command: virsh pool-destroy default
- name: destroy oooq_pool
- name: destroy local libvirt storage, networks and config
become: yes
become_user: stack
command: virsh pool-destroy oooq_pool
shell: rm -rf /home/stack/.config/libvirt
- name: destroy /run/user/ for stack
shell: >