docker role deprecation warning #58

Open
opened 2025-11-11 23:00:07 +01:00 by c6ristian · 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.
Origin: /home/chris/code/CCCHH/ansible-infra/roles/docker/tasks/main/01_repo_setup.yaml:12:11

10 - name: Ensure Docker APT repository is added
11   ansible.builtin.apt_repository:
12     repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/docker.asc] https://download.docker.com/linux/debian {...
             ^ column 11

Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
``` [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. Origin: /home/chris/code/CCCHH/ansible-infra/roles/docker/tasks/main/01_repo_setup.yaml:12:11 10 - name: Ensure Docker APT repository is added 11 ansible.builtin.apt_repository: 12 repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/docker.asc] https://download.docker.com/linux/debian {... ^ column 11 Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead. ```
Sign in to join this conversation.
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
CCCHH/ansible-infra#58
No description provided.