Skip to content

Commit

Permalink
Add appstream repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ruaridhg committed Nov 5, 2024
1 parent aa921ac commit 3722aa3
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions roles/provision/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@
state: present
when: ansible_facts['distribution_major_version'] is version("8", ">=")

- name: Enable AppStream repository if not enabled
ansible.builtin.dnf:
name: appstream
state: present
enabled: true
when: ansible_facts['distribution_major_version'] is version("8", ">=")

- name:
Install specific version of python3 and python-unversioned-command if needed
Install specific versions of python3 and python-unversioned-command if
needed
ansible.builtin.yum:
name:
- python3-3.9.18-3.el9_4.5
- python-unversioned-command-3.9.18-3.el9_4.5
- python3-3.9.18
- python-unversioned-command-3.9.18
state: present
when: ansible_facts['distribution_major_version'] is version("8", ">=")

Expand Down

0 comments on commit 3722aa3

Please sign in to comment.