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

Deprecation warning when role is run #2

Open
jvanderhoof opened this issue Mar 14, 2018 · 0 comments
Open

Deprecation warning when role is run #2

jvanderhoof opened this issue Mar 14, 2018 · 0 comments

Comments

@jvanderhoof
Copy link
Contributor

jvanderhoof commented Mar 14, 2018

When this role is run in a playbook:

the following deprecation warning appears in the output:

[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.

Desired result: Role should run without warnings
Ansible Version: 2.4.3.0

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

No branches or pull requests

1 participant