Ansible is an open-source software provisioning, configuration management, and application-deployment tool. Its runs and configure in both Linux and Microsoft windows.
Install the necessary packages for Ansible using the following commands,
$ sudo apt-get update
$ sudo apt-get install gcc
$ sudo apt-get install libssl-dev
Install the Ansible latest version using apt command,
$ sudo apt install ansible
Progress: [ 65%] [##################.............................]
Check your installed ansible version,
$ sudo ansible --version
ansible 2.5.1
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.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
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.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
Comments (0)