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/e40c6a39-01c8-4d49-9b2e-1b1a5effceb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to