[libvirt] [jenkins-ci PATCH 6/7] guests: Drop package module bootstrap step
Andrea Bolognani
abologna at redhat.com
Fri Dec 21 08:36:26 UTC 2018
Modern Ansible versions can take care of this step
automatically the first time the package module is used,
which is nice because it means we don't have to worry
about whether we're using Python 3 or Python 2 on the
managed host.
Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
guests/playbooks/update/tasks/base.yml | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/guests/playbooks/update/tasks/base.yml b/guests/playbooks/update/tasks/base.yml
index cc16eb0..2899382 100644
--- a/guests/playbooks/update/tasks/base.yml
+++ b/guests/playbooks/update/tasks/base.yml
@@ -1,20 +1,4 @@
---
-- name: Bootstrap the package module
- command: apt-get install -y python-apt
- args:
- creates: /usr/lib/python2*/*-packages/apt
- warn: no
- when:
- - package_format == 'deb'
-
-- name: Bootstrap the package module
- command: dnf install -y python2-dnf
- args:
- creates: /usr/lib*/python2*/*-packages/dnf
- warn: no
- when:
- - os_name == 'Fedora'
-
- name: Permit file editing on SELinux-enabled systems
package:
name: libselinux-python
--
2.19.2
More information about the libvir-list
mailing list