FreeKB - Ansible configuration file (ansible.cfg)
Ansible configuration file (ansible.cfg)

Home > Search


If you are not familiar with the ansible command, check out our Getting Started article. If you are not familiar with the ansible-playbook command, check out our Getting Started article.

The -v or --version option can be used to list the location of the Ansible configuration file, ansible.cfg.

ansible --version

ansible 2.4.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/your_username/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible playbook module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, mm dd yyyy, hh:mm:ss) [GCC 4.8.5 yyyymmdd (Red Hat 4.8.5-39)]

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 638b9 in the box below so that we can be sure you are a human.




Comments