Merge "Fixes ansible deprecation warnings"

This commit is contained in:
Zuul 2018-11-25 18:52:28 +00:00 committed by Gerrit Code Review
commit 1ddcd6aa2e
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@
- name: Disable libvirt default network
command: "virsh net-autostart default --disable"
failed_when: false
when: default_net.stdout|search('default')
when: default_net.stdout.find('default') != -1
- name: Destroy libvirt default network
command: "virsh net-destroy default"
when: default_net.stdout|search('default')
when: default_net.stdout.find('default') != -1