-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use include_tasks since include is deprecated. #19
base: master
Are you sure you want to change the base?
Conversation
Hi @tyler-8, I'm happy to merge it if you fix the currently failing CI test (needs altering |
Looks like I can't fix those errors as |
@tyler-8 yes, so could you edit the |
Sorry I'm not very familiar with TravisCI (still new at this stuff). Is there a way to specify another test entirely, since 2.0 still wouldn't be high enough for |
@tyler-8 what's the least required version for this syntax? |
Per the Ansible documentation, it was introduced in Ansible 2.4.0 (released September 2017) along with a depreciation message (seen in my OP). |
@tyler-8 it's been a while since the original report, but if that change is still of interest to you, could you rebase your changes on the current master branch? |
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.