Fix for AlmaLinux and add EPEL

This commit is contained in:
Anthony Rose 2021-02-08 12:55:17 +00:00
parent 9aa3d6d9a4
commit 8cc502631a

View file

@ -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: