Ansible Installation Failed - Error: Unable to find a match

I am facing below error while installing ansible on my VM

[osboxes@ansiblecontroller ~]$ sudo yum install ansible
CentOS-8 - AppStream 1.6 kB/s | 4.3 kB 00:02
CentOS-8 - Base 1.5 kB/s | 3.9 kB 00:02
CentOS-8 - Extras 575 B/s | 1.5 kB 00:02
No match for argument: ansible
Error: Unable to find a match

Hi @manjiyil,

Kindly use the following commands and try again :

sudo yum install epel-release

sudo yum install ansible

1 Like