Skip to content

Commit

Permalink
test fedora 38 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mafalb committed Apr 18, 2024
1 parent 6592096 commit cae72c1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion roles/python/tasks/present.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@
ansible.builtin.debug:
var: ansible_distribution_major_version

# https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/7XHGWHBQDNFKNGSZTP44SSD6PQKZPG6C/
- name: Test Fedora package
when:
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version == '38'
- python_version == '3.9'
ansible.builtin.dnf:
name:
- https://kojipkgs.fedoraproject.org//packages/python3.9/3.9.19/2.fc38/x86_64/python3.9-3.9.19-2.fc38.x86_64.rpm
disable_gpg_check: true

# https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/7XHGWHBQDNFKNGSZTP44SSD6PQKZPG6C/
- name: Test Fedora package
when:
Expand All @@ -51,7 +62,7 @@
when:
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version == '38'
- python_version == '3.10'
- python_version == '3.10' or python_version == '3.9'
ansible.builtin.shell: |
set -o pipefail
rpm -q expat | grep 2.6
Expand Down

0 comments on commit cae72c1

Please sign in to comment.