Low Orbit Flux Logo 2 F

Ansible - Installation

Needed Python versions:

Also needed:

Use raw mode to install python:


ansible myhost --become -m raw -a "yum install -y python2"

Install using Pip:


pip install ansible

Install on Red Hat systems:


sudo dnf install ansible    # Fedora
sudo yum install ansible   # RHEL

Ubuntu installation:


sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install ansible

Install on Arch Linux:


pacman -S ansible

Install Ansible core from github:


git clone https://github.com/ansible/ansible.git
cd ./ansible
source ./hacking/env-setup
source ./hacking/env-setup.fish