install ansible pip linux code example
Example: 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