Skip to content
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

fix: update deprecated include with import_tasks #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deshannalinda
Copy link

Fixing the following error

ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.

The error appears to be in '/Users/deshan/Developer/KZN/supagolf-tee-management-webapp/rpi/roles/aws_ssm_agent/tasks/main.yml': line 10, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

# Installs the AWS SSM Agent software.
- include: agent-install/main.yml
  ^ here

@deshannalinda
Copy link
Author

I acknowledge but won't fix the DeepSource lint error as its unrelated to this PR

@deshannalinda deshannalinda force-pushed the fix/update-deprecated-include branch from f0409e9 to 17b991a Compare November 4, 2024 01:50
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