How to install Ansible in Fedora version 34.
Today we're going to talk about the easier way to install and maintain Ansible inside Fedora 34 using the default repository.
I'm Luca Berton and welcome to today's episode of Ansible Pilot.
How to install Ansible in Fedora 34
Today we're talking about How to install Ansible in Fedora 34.
The good news is that Ansible is included in the default repository so you could install it simply with your usual package manager.
You could expect the latest version of Ansible in the updates repository.
At the moment is available the latest 2.9.
## Playbook
Let's jump in a quick live Playbook of how to install the latest version of Ansible in Fedora.
code
- install-Ansible-Fedora.sh
``bash
#!/bin/bash
$ sudo dnf list available ansible
$ sudo dnf install ansible
`
execution
output
``bash
cat /etc/redhat-release
Fedora release 34 (Thirty Four)
dnf list available ansible
Last metadata expiration check: 0:15:48 ago on Thu 21 Oct 2021 06:02:41 AM UTC.
Available Packages
ansible.noarch 2.9.25-1.fc34 updates
dnf install ansible
Last metadata expiration check: 0:16:00 ago on Thu 21 Oct 2021 06:02:41 AM UTC.
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
ansible noarch 2.9.25-1.fc34 updates 15 M
Installing dependencies:
libsodium x86_64 1.0.18-7.fc34 fedora 165 k
python3-bcrypt x86_64 3.1.7-7.fc34 fedora 44 k
python3-jmespath noarch 0.10.0-1.fc34 updates 46 k
python3-ntlm-auth noarch 1.5.0-2.fc34 fedora 53 k
python3-pynacl x86_64 1.4.0-2.fc34 fedora 110 k
python3-requests_ntlm noarch 1.1.0-14.fc34 fedora 18 k
python3-xmltodict noarch 0.12.0-11.fc34 fedora 23 k
sshpass x86_64 1.09-1.fc34 fedora 27 k
Ins