Skip to content

Commit

Permalink
Add support for Rocky and AlmaLinux (which should _for now_ be CentOS…
Browse files Browse the repository at this point in the history
…-like)
  • Loading branch information
franklouwers authored and romeroalx committed Nov 27, 2023
1 parent 18ac923 commit 7d57af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/repo-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
yum:
name: epel-release
state: present
when: ansible_distribution in [ 'CentOS' ]
when: ansible_distribution in [ 'CentOS', 'Rocky', 'AlmaLinux' ]

- name: Install epel-release on RHEL
package:
Expand All @@ -29,7 +29,7 @@
name: yum-plugin-priorities
state: present
when:
- ansible_distribution in [ 'CentOS' ]
- ansible_distribution in [ 'CentOS', 'Rocky', 'AlmaLinux' ]
- ansible_distribution_major_version | int < 8

- name: Add the PowerDNS YUM Repository
Expand Down

0 comments on commit 7d57af1

Please sign in to comment.