Version
ansible-13.6.0 ansible-core-2.20.5
What did you expect to happen?
no warning
What actually happens?
A few deprecation warnings on global ansible_xy vars .
Global ansible vars should be replaced like this :
ansible_distribution_release => ansible_facts['distribution_release']
Steps to reproduce
run a playbook containing the mariadb, nginx... roles
System info
No response
Log output
[DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
...
Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
Please confirm this isn't a support request.
Yes
Version
ansible-13.6.0 ansible-core-2.20.5
What did you expect to happen?
no warning
What actually happens?
A few deprecation warnings on global
ansible_xyvars .Global ansible vars should be replaced like this :
ansible_distribution_release=>ansible_facts['distribution_release']Steps to reproduce
run a playbook containing the mariadb, nginx... roles
System info
No response
Log output
Please confirm this isn't a support request.
Yes