Ansible deprecation warnings (docker-host)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- ansible, docker
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Xem xét ansible/roles/docker/tasks/partials/repo/ubuntu2204.yml và các template Dockerfile, bao gồm alpine323.Dockerfile.j2, là nơi phát sinh các cảnh báo. Thay thế các module repository đã lỗi thời và các tham chiếu fact cấp cao nhất, đồng thời giữ nguyên thiết lập Docker repository; hoàn tất khi các cảnh báo không còn được báo cho các Dockerfile.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Jinja
- Star
- 541
- Fork
- 185
- Merge trung bình
- 2 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nodejs/build
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
platform:ppc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
incident platform:arm
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Issue tương tự
-
core dependencies
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
-
bug github_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
registrystack/registry-stack#1393 ·
-
module: core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bigbluebutton/bigbluebutton#25849 ·
-
bug engine
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
rocky-data/rocky#2181 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100