How to check ansible version installed on Linux (Fedora/Centos 9/ Rhel 9)?

How to check ansible version installed on Linux (Fedora/Centos 9/ Rhel 9)?

we can check ansible version installed on any Linux machine (Fedora/Centos 9/ RHEL 9) using below command,

[ramyadevi@fedora ~]$ ansible --version

ansible version command displays below details,

ansible [core 2.14.3]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/ramyadevi/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.11/site-packages/ansible
  ansible collection location = /home/ramyadevi/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.11.2 (main, Feb  8 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] (/usr/bin/python3)
  jinja version = 3.0.3
  libyaml = True

”2.14.3” is the ansible version installed on this Linux machine.




Python installation

Privacy Policy  |  Copyrightcopyright symbol2020 - All Rights Reserved.  |  Contact us   |  Report website issues in Github   |  Facebook page   |  Google+ page

Email Facebook Google LinkedIn Twitter
^