Closed rhpvorderman closed 6 years ago
Nothing planned yet. If you have a proposition don't hesitate. Do you know in which version "include" will be removed ?
Directly from the Ansible changelog
- New import/include keywords to replace the old bare
include
directives. The use ofstatic: {yes|no}
on such includes is now deprecated.- Using
import_*
(import_playbook
,import_tasks
,import_role
) directives are static.- Using
include_*
(include_tasks
,include_role
) directives are dynamic. This is done to avoid collisions and possible security issues as facts come from the remote targets and they might be compromised.
More information can be found here
But it seems there is no information on when include will be deprecated.
My proposal would be to update the next version to 2.4. With ansible moving so fast It's a good thing to stay on top of changes. I will do a pull request later today.
Hmm... is this actually still an issue, with the two merges above? Cheers.
indeed not an issue anymore.
In ansible 2.4
include
is deprecated so I get a deprecation warning when using the nginx role. In the future this should be replaced with eitherimport_tasks
orinclude_tasks
. This will break backwards compatibility with older versions of ansible. So I was wondering how the transition is planned so I can prepare my playbooks accordingly. Keep up the good work!