Skip to content

Ansible deprecations #4424

@LecrisUT

Description

@LecrisUT

Was looking at a failed test and saw that we have ansible deprecation warnings being triggered, e.g.

            err: [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.
            err: Origin: /usr/lib/python3.14/site-packages/tmt/steps/prepare/feature/epel-enable.yaml:32:11
            err: 
            err: 30     - name: Enable EPEL repos on RHEL 7
            err: 31       when:
            err: 32         - ansible_distribution == "RedHat"
            err:              ^ column 11
            err: 
            err: Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.

Are we blocked from updating these?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    implement

    Status

    triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions