Skip to content

Replace deprecated 'include' with 'include_tasks' in Logstash role#38

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

Replace deprecated 'include' with 'include_tasks' in Logstash role#38
pvisweswar wants to merge 1 commit intosansible:developfrom
pvisweswar:bugfix/deprecated-include-fix

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 the Logstash role 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