Skip to content
TrySitePrice

How to check Ansible version on Linux/Unix

Best/Tutorial

To check the version of Ansible installed on a Linux or Unix system, use the following command:

ansible --version

The output will show the version number, for example:

ansible 2.9.13
 config file = None
 configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
 ansible python module location = /usr/local/lib/python3.8/dist-packages/ansiblern executable location = /usr/local/bin/ansiblern python version = 3.8.7 (default, Feb 10 2021, 15:21:51) [GCC 8.4.0]