Can you please give me an example for that or refer documentation on how 
can i do this : "when' in ansible ?

On Saturday, February 3, 2018 at 7:31:50 PM UTC+1, 
[email protected] wrote:
>
> Is it possible the varibale is defined but unset. Why not test that the 
> length of string is > 0 instead?
>
> On Saturday, February 3, 2018 at 2:18:52 AM UTC+1, Sudhir Kumar wrote:
>>
>>
>> when: is not working as expected, So, even if i don't pass parameters 
>> then also it tries to run and then fails. So error is : from script i.e. 
>> parameters not passed. 
>> But ideally, it should skip this if parameter is not supplied.
>>
>> Regards,
>> Sidh
>>
>>
>>
>> On Friday, February 2, 2018 at 2:35:22 PM UTC+1, Kai Stian Olstad wrote:
>>>
>>> On Friday, 2 February 2018 12.56.23 CET Sudhir Kumar wrote: 
>>> > Hi All, 
>>> > 
>>> > Any ideas ? 
>>>
>>> Not without the actual error message you get. 
>>>
>>> -- 
>>> Kai Stian Olstad 
>>>
>>

-- 
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/15066bd5-a390-48c0-974f-afa4589c117e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to