ansible.cfg is read from current working directory, ~/.ansible.cfg or /etc/ansible/ansible.cfg, so you have to be in the same directory when executing the play to pick it up.
-- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8nVTM3sH3ye1v9YV_Xx7MAVW17fHxxW98NL1Jd_W%2BkXkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
