Hi,
I cannot install ansible (“No package ansible available”).
After writing “sudo yum install ansible” I am getting following response: “no package ansible available”.
I need help ASAP.
It’s from the course " [Ansible for the Absolute Beginner - Hands-On - DevOps]" - “Section 2: Lab - Setup VMs and Install Ansible” - “6. Demo - Part 2 - Setup Lab - Clone VMs and Install Ansible”.
Thanks!
         
        
          
        
           
           
           
         
         
            
            
          
       
      
        
          
          
            Ayman
            
          
          
          
              
              
          #2
          
         
        
          Hello @wjkszpl
Ansible is part of the Extra Packages for Enterprise Linux (EPEL) repository so you need to install epel-release package first
$ sudo yum install epel-release
The repo should now be visible in the repo list
$ sudo yum repolist
So now you can go ahead and install ansible
$ sudo yum install ansible
         
        
        
           
           
           1 Like
         
         
            
            
          
       
      
        
        
          It’s working now @Ayman - thanks!
         
        
        
           
           
           1 Like