Skip to content

Commit

Permalink
Merge pull request #35 from tgerov/feature/enable-crb
Browse files Browse the repository at this point in the history
Enable CRB repo on Alma/Rocky
  • Loading branch information
MrMEEE authored Jul 4, 2024
2 parents 3e233a0 + a273ad2 commit 782ff22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/awx-rpm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
become: true
when: ansible_facts['distribution'] == 'RedHat'

- name: Enable a CRB repository
ansible.builtin.command: /usr/bin/crb enable
when: ansible_distribution == 'AlmaLinux' or ansible_distribution == 'Rocky'
register: cbr
changed_when: cbr.rc == 0

- name: Install AWX-RPM
ansible.builtin.dnf:
name: awx-rpm
Expand Down

0 comments on commit 782ff22

Please sign in to comment.