I have this same problem. ansible.cfg is ignored in all places, OS X 
10.9.1. I'll post back if I get it working.
One thing to note is if I introduce a syntax error in ./ansible.cfg, 
ansible immediately complains. When I remove it, ansible runs fine but 
ignores the actual config.

On Friday, January 17, 2014 8:25:00 AM UTC-7, Marco Garcês wrote:
>
> I dont know how this was fixed... but:
>
> I did a checkout from git, for my own project, and now it works as it 
> should.
>
> No clue what was wrong on the other directory... =/
>
>
>
> On Friday, January 17, 2014 5:14:14 PM UTC+2, Michael DeHaan wrote:
>>
>> Yep, you had replied to me directly instead.
>>
>> There's nothing that would cause a configuration file to have any 
>> problems on OS X specifically.
>>
>> You might have to do some more digging.
>>
>>
>>
>>
>> On Fri, Jan 17, 2014 at 1:50 AM, Marco Garcês <[email protected]> wrote:
>>
>>> I have answered yesterday, but it seems that my answer did not got 
>>> here...
>>> Here is my ansible.cfg:
>>> https://gist.github.com/mgarces/f044f586afbbb150c254
>>>
>>> It's a very simple one. I know it's working when I can call 
>>> *ansible-playbook* without the *-i *argument.
>>>
>>>
>>> On Thursday, January 16, 2014 5:44:30 PM UTC+2, Michael DeHaan wrote:
>>>
>>>> Pretty sure this isn't broke, let us know how you think it is?
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Jan 16, 2014 at 10:40 AM, Matt Martz <[email protected]> wrote:
>>>>
>>>>> Maybe you could share your ansible.cfg file with us?  Maybe there is 
>>>>> an issue there.  I have seen some people use [default] as a section 
>>>>> header 
>>>>> before, however the section header is really [defaults].
>>>>>  -- 
>>>>> Matt Martz
>>>>> [email protected]
>>>>>
>>>>> On January 16, 2014 at 9:27:19 AM, Marco Garcês ([email protected]) 
>>>>> wrote:
>>>>>
>>>>> Hi there, 
>>>>>
>>>>> I am using ansible from github checkout *(ansible 1.5 (devel 
>>>>> 87e7b9e5cc) last updated 2014/01/16 15:40:55 (GMT +200))*, and doing 
>>>>> the normal "*source $ANSIBLE_HOME/hacking/env-setup*" to get things 
>>>>> working. 
>>>>> My OS is Mac OS X 10.9 (Mavericks)
>>>>>
>>>>> I have a small ansible project using roles, and on the root of that 
>>>>> project, I have "ansible.cfg" with a bunch of settings.
>>>>>
>>>>> The thing is, the config file it's not being respected; I have tried 
>>>>> to put it in *~/.ansible.cfg*, and also on */etc/ansible/ansible.cfg*, 
>>>>> but when I run "*ansible-playbook site.yml*" it totally ignores the 
>>>>> config file.
>>>>>
>>>>> Also, I have tested with the pip's version of ansible *(ansible 
>>>>> 1.4.4)*, still no sucess!
>>>>> Running my project on a CentOS 6.5 box, everything works has expected, 
>>>>> and the config file is respected.
>>>>>
>>>>> Is someone else having this issues, or is able to replicate my setup?
>>>>>
>>>>> Thank you in advance!
>>>>>  --
>>>>> 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].
>>>>>
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>>  -- 
>>>>> 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].
>>>>>
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Michael DeHaan <[email protected]>
>>>>
>>>> CTO, AnsibleWorks, Inc.
>>>> http://www.ansibleworks.com/
>>>>
>>>>   -- 
>>> 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].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> -- 
>> Michael DeHaan <[email protected]>
>> CTO, AnsibleWorks, Inc.
>> http://www.ansibleworks.com/
>>
>> 

-- 
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/cb94c6fc-3967-4c62-b5e2-1cdb4eb71213%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to