ci: update system-packages.yml to install gpgme-devel on fedora
as well as reorder for readability
- name: include variable to check if python2-dnf can be installed
include: python3.yml
-- name: Install optional packages For RedHat
- become: yes
- yum:
- state: present
- enablerepo: codeready-builder-for-rhel-9-x86_64-rpms
- name:
- - glibc-static
- - gpgme-devel
- - yajl-devel
- when: ansible_distribution == 'RedHat'
-
- name: Make sure we have all required packages
become: yes
yum:
- tar
- wget
+- name: Install optional packages For RedHat
+ become: yes
+ yum:
+ state: present
+ enablerepo: codeready-builder-for-rhel-9-x86_64-rpms
+ name:
+ - glibc-static
+ - gpgme-devel
+ - yajl-devel
+ when: ansible_distribution == 'RedHat'
+
- name: Install optional packages For CentOS Stream 9
become: yes
yum:
- gpgme-devel
when: ansible_distribution != 'RedHat' and (ansible_distribution == 'CentOS' and ansible_distribution_version != 9)
-- name: Add Fedora <=29 specific packages
- package:
- name: "{{ item }}"
+- name: Add Fedora specific packages
+ become: yes
+ yum:
state: present
- with_items:
- - python2-boto
+ name:
- btrfs-progs-devel
- when: (supports_python3 is not defined or not supports_python3) and ansible_distribution in ['Fedora']
+ - gpgme-devel
+ - glibc-static
+ when: ansible_distribution in ['Fedora']
- name: Add python-boto for RHEL and CentOS
become: yes
