Nope.. I never touched that setting, so should be on default. 

Like I said, I wrote my own jinja2 filter, and used the wrong filter name. 
So it's actually an undefined filter.. Not sure if that error is caught. 

On Sunday, December 8, 2013 10:58:05 AM UTC-5, Michael DeHaan wrote:
>
> Do you perhaps have the undefined variable detection turned off in 
> ansible.cfg?
>
>
> http://ansibleworks.com/docs/intro_configuration.html#error-on-undefined-vars
>
>
> On Sun, Dec 8, 2013 at 1:26 AM, Xu Chen <[email protected] <javascript:>>wrote:
>
>> Ah, I know why now..
>>
>> I wrote my own jinja2 filter, and I was supposed to use that filter in 
>> the same task. So it's like this:
>>
>> - name: configure cinder service
>>   keystone_endpoint: service_name=cinder service_type=volume token="xxx" 
>> endpoint=http://{{ ansible_default_ipv4.address }}:35357/v2.0
>>                                token={{ somevar|my_filter }}
>>
>> But I coded a wrong filter name, so the entire template instantiation 
>> process failed.
>>
>> On Saturday, December 7, 2013 9:11:32 PM UTC-5, Xu Chen wrote:
>>>
>>> I am writing my own module, similar to keystone_user to configure 
>>> keystone services and endpoints. I made keystone_endpoint file very similar 
>>> to keystone_user. And in the task file, have the following:
>>>
>>> - name: configure cinder service
>>>   keystone_endpoint: service_name=cinder service_type=volume token="xxx" 
>>> endpoint=http://{{ ansible_default_ipv4.address }}:35357/v2.0 ...
>>>
>>> For some reason, the {{ ansible_default_ipv4.address }} part isn't 
>>> expanded in the parameter file copied to the remote host. Anything I forgot 
>>> to add maybe?
>>>
>>> Thanks..
>>>
>>  -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Michael DeHaan <[email protected] <javascript:>>
> 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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to