To configure the PPA on your machine and install Ansible run these commands:
$ sudo apt-get install software-properties-common $ sudo apt-add-repository ppa:ansible/ansible $ sudo apt-get update $ sudo apt-get install ansible
Check ansible version
$ ansible --version
Output may like:
$ ansible --version ansible 2.8.3 config file = None configured module search path = [u'/home/u1/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.16 (default, Mar 20 2019, 12:15:19) [GCC 7.4.0]
Similar Posts:
- How to Install and Configure Ansible on Windows?
- Ten Devops Tools For Infrastructure Automation And Monitoring
- how to install sshpass on Windows (cygwin)
922