Fix for AlmaLinux and add EPEL
This commit is contained in:
parent
9aa3d6d9a4
commit
8cc502631a
1 changed files with 7 additions and 1 deletions
|
@ -1,9 +1,15 @@
|
||||||
---
|
---
|
||||||
- name: Install Ansible repo
|
- name: Install CentOS Ansible repo
|
||||||
become: true
|
become: true
|
||||||
dnf:
|
dnf:
|
||||||
name: centos-release-ansible-29
|
name: centos-release-ansible-29
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_distribution == 'CentOS'
|
||||||
|
- name: Install EPEL
|
||||||
|
become: true
|
||||||
|
dnf:
|
||||||
|
name: epel-release
|
||||||
|
state: present
|
||||||
- name: Install CLI packages
|
- name: Install CLI packages
|
||||||
become: true
|
become: true
|
||||||
dnf:
|
dnf:
|
||||||
|
|
Loading…
Reference in a new issue