~/myansibleproject$ ansible --version | grep config\ file
config file = /home/vagrant/myansibleproject/ansible.cfg
 
~/myansibleproject$ export ANSIBLE_CONFIG=/tmp/ansible.cfg
 
~/myansibleproject$ ansible --version | grep config\ file
config file = /tmp/ansible.cfg
