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.