How To Install Ansible On Ubuntu
How to install ansible on ubuntu
Ansible is a configuration management, Deployment & Orchestration tool. Which helps you to automate server and cloud provisioning, configuration management and application deployment. In the following steps i will show you how to install ansible on ubuntu step by step. Prerequisite of ansible is python so install python in your machine.
Installing Python:
Ansible and its modules are built on python, So we have to install python in our Ubuntu machine.
To install python in your system execute below commands as root user.
sudo –i apt-get install python-minimal apt-get install python3
Check Python Version:
Check your python version with below command.
python --version Python 2.7.12
installing ansible on Ubuntu:
After installing python in your machine install ansible. To install ansible run below commands as root user.
Ansible PPA:
sudo -i apt-get update apt-get install software-properties-common apt-add-repository ppa:ansible/ansible apt-get update apt-get install ansible
Ansible Version:
After installing ansible, Check your ansible version with below command.
ansible --version ansible 2.6.3 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/dist-packages/ansible executable location = /usr/bin/ansible python version = 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
- install ansible on ubuntu
- ansible install on ubuntu 16.04
- 18.04 install ansible on ubuntu
- install ansible on ubuntu 18.04
- how to install ansible on ubuntu
- cannot add PPA: 'PPA:~ansible/ubuntu/ansible'
- install ansible 2.4 ubuntu
- ansible installation on Linux
- install ansible ubuntu
- install ansible on ubuntu ec2