Don't break tests on systems without py2

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2020-02-14 12:40:11 -05:00
parent 217e04a860
commit 26c80918da
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -10,7 +10,7 @@
- classic
tasks:
- name: Make sure fedpkg and selinux bindings are installed
shell: dnf -y install fedpkg python2-libselinux libmodulemd-devel
shell: dnf -y install fedpkg python{2,3}-libselinux libmodulemd-devel --skip-broken
- name: Copy spec file to remote machine
copy:
src: "{{ playbook_dir }}/../libmodulemd.spec"