How to Install Ansible on Fedora Server
How to Install Ansible on Fedora Server
1. Log into you Fedora server as ‘root’ user
2. Install Ansible using dnf (Dandified YUM). DNF is a software package manager on Fedora servers.
Run the below command to install Ansible.
[root@server /]# dnf install ansible
OR
[user@server /]# sudo dnf install ansible
3. Ansible will install the below dependencies :
libsodium
python3-asn1crypto
python3-babel
python3-bcrypt
python3-cffi
python3-chardet
python3-cryptography
python3-idna
python3-jinja2
python3-jmespath
python3-markupsafe
python3-ntlm-auth
python3-paramiko
python3-ply
python3-pycparser
python3-pynacl
python3-pysocks
python3-pytz
python3-pyyaml
python3-requests
python3-requests_ntlm
python3-setuptools
python3-six
python3-urllib3
python3-winrm
python3-xmltodict
sshpass
How to uninstall Ansible on Fedora Server
1. Log into your Fedora server as ‘root’ user
2. Run the below command to uninstall Ansible
# dnf remove ansible
OR
#sudo dnf remove ansible
3. It will remove Ansible and the installed dependencies.