cancel
Showing results for 
Search instead for 
Did you mean: 
Mawuena
Flight Engineer
Flight Engineer
  • 249 Views

Setting up my own lab to practice for RHCE EX294 exam. How to install Ansible on RHEL 9.0 ?

Hello,

I have been seeing §dnf install ansible-core, §dnf install ansible*,  § pip install python* ... etc....

Please, what is the best or the most recommended method for installing Ansible on the RHEL 9.0 Control Node? 

Best regards & thanks.

 

2 Replies
Winsock
Flight Engineer
Flight Engineer
  • 246 Views

```

1. Update the package list:
``bash
sudo yum update -y
`

2. Install Ansible:
`bash
sudo yum install -y ansible
`

3. Verify the installation:
`bash
ansible --version
`
```

Disregard the markdown, not sure why I keep thinking it renders at redhat.

You should effectively have a working install and printed out version number. Good luck!


Open Research and Development Laboratories
Enterprise Systems Architect
Kernel Engineer
|RH|FOSS|
Concurrency | Dynamics | Mutants | Memory Space
Join the discussion
You must log in to join this conversation.