
Resolve "ansible include module is to be deprecated"

All threads resolved!
All threads resolved!
Closes #14 (closed)
Edited by Arthur BOUDREAULT
Merge request reports
Activity
Filter activity
added To Do label
assigned to @arthur.boudreault
- Resolved by Christophe Chaudier
Ansible-lint:
Include has some unintuitive behaviours depending on if it is running in a static or dynamic in play or in playbook context, in an effort to clarify behaviours we are moving to a new set modules (ansible.builtin.include_tasks, ansible.builtin.include_role, ansible.builtin.import_playbook, ansible.builtin.import_tasks) that have well established and clear behaviours. This module will still be supported for some time but we are looking at deprecating it in the near future.
Fix: I have decided to go for ansible include_tasks module because it is more versatile and on a par with this module (for more info about differences between new modules, see here
Edited by Arthur BOUDREAULT
added 1 commit
-
b4158bb9 -
refactor: using latest ansible module to be more future-proof and support latest ansible versions
-
b4158bb9 -
added Need review label and removed To Do label
mentioned in commit abe8ccb9
Please register or sign in to reply