Thanks Kia. Really appreciate your quick and detailed response. Regards,
Ben On Wed, 17 Oct 2018 at 10:37, Kai Stian Olstad < [email protected]> wrote: > On 17.10.2018 11:23, Ben Joyce wrote: > > Hi. Has include_tasks been deprecated? I have a playbook that used > > include_tasks fine up until recently. > > > > ansible-playbook --version reports 2.7.0 > > > > Unfortunately I can't be sure of what the previous version was, if it > > was > > indeed different. > > > > Either way, include_tasks no longer works for me. I get this error: > > > > ERROR! Invalid options for include_tasks: item > > > <snip /> > > > Any ideas? > > The documentation say that include_tasks is preview so it's subjected to > change > > https://docs.ansible.com/ansible/2.7/modules/include_tasks_module.html#status > > > So when you upgrade you need to check the documentation again for those > module and read the porting guide. > > https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.7.html#include-tasks-import-tasks-inline-variables > > -- > 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/1f3088c53d2685545bb50a4cb1f46f14%40olstad.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAGWQ2KADnZBZ9SvGgRt_A2a25hsG0n34zYaEgDPYi6xt7Ywm0g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
