Thank you very much for clarification Kai

You're awesome <3


On Thursday, December 29, 2016 at 3:53:04 AM UTC-8, Kai Stian Olstad wrote:
>
> On 28. des. 2016 03:38, Cann wrote: 
> > I am not sure what is not clear about my question. As title indicates: 
> "How 
> > to use ignore_errors with include statement ?" 
>
> In your subject you have one thing, but in the mail you are talking 
> about undefined variables, and in the example you av including a file 
> that doesn't exist. 
>
>
> > I want ansible to ignore this error. I use "ignore_errors: yes" but it 
> > fails anyways. 
>
> ignore_errors only work on task that return a exit code, include is just 
> a directive to include tasks. 
> Ignore_error will be applied to every task in the include file, but it 
> will not work on include when you are including a file that doesn't exist. 
>
>
> -- 
> 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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/139b5420-4d57-4d51-82bf-d8c1983cca38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to