[libvirt] [jenkins-ci PATCH 2/2] guests: Don't warn when bootstrapping package manager

Andrea Bolognani abologna at redhat.com
Fri Oct 20 11:31:19 UTC 2017


Ansible will try to get us to use the apt or dnf modules, but we
can't really do that when we are bootstrapping said modules, so
just silence the warning.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/tasks/base.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guests/tasks/base.yml b/guests/tasks/base.yml
index acdcc11..6acd967 100644
--- a/guests/tasks/base.yml
+++ b/guests/tasks/base.yml
@@ -37,6 +37,7 @@
   command: apt-get install -y python-apt
   args:
     creates: /usr/lib/python2*/*-packages/apt
+    warn: no
   when:
     - package_format == 'deb'
 
@@ -44,6 +45,7 @@
   command: dnf install -y python2-dnf
   args:
     creates: /usr/lib*/python2*/*-packages/dnf
+    warn: no
   when:
     - os_name == 'Fedora'
 
-- 
2.13.6




More information about the libvir-list mailing list