[virthost-full-cleanup] use 'become' instead of 'sudo'

- This patch avoids deprecations warning about using sudo/sudo_user
  instead of become/become_user.

Change-Id: I1f4909cd25ffbe3d53dd55118fe1af0052cf6b9a
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2016-12-12 15:17:24 +01:00
parent cffed80ccc
commit db2136fa16
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
command: virsh net-destroy default
- name: destroy default pool
sudo: yes
become: yes
command: virsh pool-destroy default
- name: destroy local libvirt storage, networks and config