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

Stop using deprecated 'include' statement in Ansible playbooks #199

Closed
mikewalch opened this issue Oct 25, 2017 · 2 comments
Closed

Stop using deprecated 'include' statement in Ansible playbooks #199

mikewalch opened this issue Oct 25, 2017 · 2 comments

Comments

@mikewalch
Copy link
Member

It looks like Muchos is installing a newer version of Ansible and I received this warning:

[DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook' instead. This feature will be removed in version 2.8. Deprecation warnings can be disabled by setting
 deprecation_warnings=False in ansible.cfg.
[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.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will 
be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
@plainolneesh
Copy link
Contributor

I think this can be closed now @keith-turner

@ctubbsii
Copy link
Member

ctubbsii commented Oct 9, 2019

Fixed in #290

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

No branches or pull requests

4 participants