Thanks alot!
when: not scrtipt_output.failed  

*This is worked for me!!!*


On Wednesday, October 24, 2018 at 1:21:46 AM UTC-4, Vladimir Botka wrote:
>
>
> Remove the quotation marks. The conditionals are expanded automatically. 
>  
>
>>         when: "scrtipt_output.rc !=0"
>>
>  ...
>
>> The error was: template error while templating string: unexpected char 
>> u\"'\" at 29
>>
>
> Alternatively you might want to use:
>
>     when: not scrtipt_output.failed
>
>

-- 
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/ba0e2163-cead-4c06-ade3-ef4784915630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to