Install python-rhsm-certificates, handle python-boto
Add python-rhsm-certificates to the list of packages that we require, so
that the required certificates are available for the
pull-image-with-signature tests.
Add per-distribution package install tasks so that we install either
python2-boto or python-boto, depending on whether we're running on
Fedora or RHEL/CentOS, respectively.
- ostree-devel
- pkgconfig
- python
- - python2-boto
- python2-crypto
- python-devel
+ - python-rhsm-certificates
- python-virtualenv
- PyYAML
- redhat-rpm-config
async: 600
poll: 10
+- name: Add python2-boto for Fedora
+ package:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - python2-boto
+ when: ansible_distribution in ['Fedora']
+
+- name: Add python-boto for RHEL and CentOS
+ package:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - python-boto
+ when: ansible_distribution in ['RedHat', 'CentOS']
+
- name: Add Btrfs for Fedora
package:
name: "{{ item }}"
