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

Warning about "include" for tasks for ansible-playbook 2.4.0 (devel f0a5854e39) #131

Closed
HelioCampos opened this issue Jul 14, 2017 · 0 comments · Fixed by #132
Closed

Warning about "include" for tasks for ansible-playbook 2.4.0 (devel f0a5854e39) #131

HelioCampos opened this issue Jul 14, 2017 · 0 comments · Fixed by #132

Comments

@HelioCampos
Copy link
Contributor

HelioCampos commented Jul 14, 2017

Ansible gives the following message about this playbook:
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
This PR make the necessary changes using 'import_tasks' where necessary for static inclusions.

rndmh3ro added a commit that referenced this issue Jan 31, 2018
Remove deprecated include for static tasks and use instead import_tasks fix #131
rndmh3ro added a commit that referenced this issue Jul 24, 2020
corrected comments explaining the task's behaviour
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this issue Aug 3, 2022
corrected comments explaining the task's behaviour
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this issue Aug 3, 2022
Remove deprecated include for static tasks and use instead import_tasks fix dev-sec#131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants