docker: use deb822 repo

This commit is contained in:
uumas
2025-04-04 19:22:00 +03:00
parent 5b4bea1b09
commit 3e9d83457d

View File

@@ -1,14 +1,17 @@
--- ---
- name: Ensure legacy apt repository not present
ansible.builtin.file:
path: /etc/apt/sources.list.d/docker.list
state: absent
- name: Add docker apt repository - name: Add docker apt repository
ansible.builtin.import_role: ansible.builtin.deb822_repository:
name: uumas.general.apt_repository name: docker
vars: uris: https://download.docker.com/linux/{{ ansible_distribution | lower }}
repo_name: docker signed_by: https://download.docker.com/linux/debian/gpg
repo_url: https://download.docker.com/linux/{{ ansible_distribution | lower }} suites: "{{ ansible_distribution_release }}"
repo_key_url: https://download.docker.com/linux/debian/gpg # architectures: "{{ apt_arch }}"
repo_arch: "{{ apt_arch }}" components:
repo_components:
- stable - stable
- name: Install docker - name: Install docker