Closed flysen closed 5 years ago
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @Java1Guy @Shaps @akazakov @alikins @barnabycourt @kahowell @linuxdynasty @lwade @mattclay @ryansb @ryansydnor @s-hertel @tima @willthames @wimnat @yaakov-github click here for bot help
@flysen, just so you are aware we have a dedicated Working Group for aws.
You can find other people interested in this in #ansible-aws
on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community
This warning is not coming from a role. This warning would only be generated if you have a playbook that does something like this:
playbook.yml
- include: some_other_playbook.yml
This warning is not caused from including a task file, only for including another playbook.
This warning is not coming from a role. This warning would only be generated if you have a playbook that does something like this:
playbook.yml
- include: some_other_playbook.yml
This warning is not caused from including a task file, only for including another playbook.
@sivel Thanks for prompt reply, So if i have a role:
roles/example/tasks/main.yml
I can continue to use include
to include tasks. I don't need to change to import_tasks
?
Regards
Fredrik
Yes, you can still continue to use include
for including tasks files for now. include
for task files is not deprecated at this time.
If you have further questions please stop by IRC or the mailing list:
SUMMARY
Running playbooks that uses include statement gives me a warning:
[DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook'
Running playbook that uses roles (which useinclude
instead ofimport_tasks
) doesn't throw any warnings.ISSUE TYPE
COMPONENT NAME
Documentation
I expect to get DEPRECATION WARNING warnings for this code:
ANSIBLE VERSION