Hi,

I want to understand when to use static task inclusion vs dynamic. 

I recently ran into an issue where the ignore_errors directive was not 
getting passed to the included tasks because it was not dynamically loaded. 
The task looks like this:
 - include: <taskfile>
   static: no
   ignore_errors: yes

But from my understanding, having "static: no" option would apply 
ignore_errors to the include task, rather than the included tasks from 
<taskfile>. Please let me know what is the correct behavior here. 

Also, what are the recommendations to use one over the other?

Thanks,
Divya

-- 
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/925c7ab4-fa96-48e4-b7a7-dde138b44c17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to