Ansible Deprecation: INJECT_FACTS_AS_VARS default to True is deprecated #474

Open
opened 2025-11-10 11:32:53 +01:00 by histalek · 0 comments
Owner
[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.

This affects at least the following roles:

  • alloy
  • podman
  • dnf

Should be easy enough to fix though

``` [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. ``` This affects at least the following roles: * alloy * podman * dnf Should be easy enough to fix though
histalek changed title from Ansible Deprecation to Ansible Deprecation: INJECT_FACTS_AS_VARS default to True is deprecated 2025-11-10 11:33:27 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SipsOfCode/infrastructure#474
No description provided.