I am using the host file as below,
[qa-workstations]
10.39.19.190 ansible_user=test ansible_ssh_pass=test
I am using below command to execute \
Create an ansible.cfg in your playbook directory or modify the "global" ansible.cfg
Note: Only 1 configuration file is processed. First one wins in the below list. http://docs.ansible.com/ansible/intro_configuration.html
- ANSIBLE_CONFIG (an environment variable)
- ansible.cfg (in the current directory)
- .ansible.cfg (in the home directory)
- /etc/ansible/ansible.cfg
[defaults]
remote_user=test