Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ansible deprecation warnings (docker-host) #4370

Open

Description

TASK [docker : add os-specific repos] **********************************************************************************
[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.
[DEPRECATION WARNING]: ansible.builtin.apt_key has been deprecated. Use deb822_repository instead. This feature will be removed from ansible-core version 2.25.
Origin: /Users/mzasso/git/nodejs/build/ansible/roles/docker/tasks/partials/repo/ubuntu2204.yml:8:3
6
7 - name: "repo : add Ubuntu Docker repo key"
8 ansible.builtin.apt_key:
 ^ column 3
[DEPRECATION WARNING]: ansible.builtin.apt_repository has been deprecated. Use deb822_repository instead. This feature will be removed from ansible-core version 2.25.
Origin: /Users/mzasso/git/nodejs/build/ansible/roles/docker/tasks/partials/repo/ubuntu2204.yml:13:3
11
12 - name: "repo : add Ubuntu Docker repo"
13 ansible.builtin.apt_repository:
 ^ column 3
included: /Users/mzasso/git/nodejs/build/ansible/roles/docker/tasks/partials/repo/ubuntu2204.yml for test-digitalocean-ubuntu2204_docker-x64-2 => (item=/Users/mzasso/git/nodejs/build/ansible/roles/docker/tasks/partials/repo/ubuntu2204.yml)
TASK [docker : repo : add Ubuntu Docker repo] **************************************************************************
[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: /Users/mzasso/git/nodejs/build/ansible/roles/docker/tasks/partials/repo/ubuntu2204.yml:14:11
12 - name: "repo : add Ubuntu Docker repo"
13 ansible.builtin.apt_repository:
14 repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
 ^ column 11
Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.

This one is printed for each Dockerfile:

[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: /Users/mzasso/git/nodejs/build/ansible/roles/docker/templates/alpine323.Dockerfile.j2
Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /