Skip to content

Replace deprecated include with include_tasks#21

Open
pvisweswar wants to merge 1 commit intosansible:developfrom
pvisweswar:fix/include-to-include_tasks
Open

Replace deprecated include with include_tasks#21
pvisweswar wants to merge 1 commit intosansible:developfrom
pvisweswar:fix/include-to-include_tasks

Conversation

@pvisweswar
Copy link

  • Ansible deprecated the use of include in favor of 'include_tasks' or import_tasks.
    > The old way of using 'include' is not allowed in new versions of Ansible.

  • This change updates to use include_tasks for better compatibility with Ansible core versions released after May 2023.
    > So, I changed it to 'include_tasks' to make sure it works with the latest Ansible. This helps avoid errors and keeps everything up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant