Monday, December 19, 2016

How to install Ansible on Lubuntu

Ansible is an open source tool for automation and configuration management of server, ansible allows you to automate your server whether on local or on cloud, ansible is a popular tool used by devops.

Ansible works through ssh connection, therefore you don't need to install anything on the server you are about to automate, you only need install ansible on your own computer. To install ansible on lubuntu/ubuntu is pretty easy.

Step by step how to install ansible on ubuntu
  • Make sure you already have pip (python package installer) on your system, if not you can install using this command
  • sudo apt-get install python-pip
  • Install ansible using pip
  • sudo pip install ansible
  • run this command to check the ansible version that you have
  • pip --version
  • if you need to upgrade ansible version to the latest one, simply run this
  • sudo pip install --upgrade ansible

Once installed, you can run 'ansible' program from the command line, or use the 'ansible-playbook' command if you want to run playbook. 

No comments:

Post a Comment