Below is command to check ansible version.
Below is example output of above command from Oracle Linux 7 Machine.
tarun boyella
ansible --version
Below is example output of above command from Oracle Linux 7 Machine.
# ansible --version
ansible 2.7.9
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/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Jun 4 2019, 10:54:24) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36.0.1)]
ansible 2.7.9
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/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Jun 4 2019, 10:54:24) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36.0.1)]
Products to which Article Applies
All Linux Operating SystemsAdditional Reference
https://docs.ansible.com/ansible/latest/index.htmltarun boyella
No comments:
Post a Comment