vhost_reboot: adjust libvirt pid to libvirt socket
On newer libvirt there's no pid file, instead there's a socket that listens and then the service is started. So, check that the socket is there instead of looking for a broken pid file. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
cd96b0cd32
commit
1eeb585f74
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@
|
|||
reboot:
|
||||
|
||||
- name: wait for libvirtd to come back on the virthost
|
||||
wait_for: path=/var/run/libvirtd.pid state=present
|
||||
wait_for: path=/run/libvirtd-sock state=present
|
||||
|
||||
- name: look up vmlist
|
||||
virt: command=list_vms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue