Answers for "Install ansible"

4

Install ansible

On Fedora:
$ sudo dnf install ansible

On RHEL and CentOS:
$ sudo yum install ansible

On Ubuntu:
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible

Using PIP:
$ pip install --user ansible

On Alpine:
$ apk add ansible
Posted by: Guest on September-20-2020
0

how to install ansible

# Installation is simpler if you use root account
$ sudo -s

# remove prior versions of ansible incase you have it
root@ip-172---:/ pip uninstall ansible

# remove any ansible installed by apt
root@ip-172---:/ apt remove ansible

# now install it using pip
root@ip-172---:/ pip install ansible

# check for the version of ansible
root@ip-172---:/ ansible --version
Posted by: Guest on August-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language