docker: use deb822 repo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user