mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-12-21 19:07:06 +01:00
Merge pull request #481 from FMotalleb/patch-1
docs(apt-sign-key): addressing a fix for #480
This commit is contained in:
commit
2050a073e5
@ -84,7 +84,7 @@ The main Docker repo URL, common between Debian and RHEL systems.
|
|||||||
```yaml
|
```yaml
|
||||||
docker_apt_release_channel: stable
|
docker_apt_release_channel: stable
|
||||||
docker_apt_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
|
docker_apt_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
|
||||||
docker_apt_repository: "deb [arch={{ docker_apt_arch }}] {{ docker_repo_url }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}"
|
docker_apt_repository: "deb [arch={{ docker_apt_arch }}{{' signed-by=/etc/apt/keyrings/docker.asc' if add_repository_key is not failed}}] {{ docker_repo_url }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}"
|
||||||
docker_apt_ignore_key_error: True
|
docker_apt_ignore_key_error: True
|
||||||
docker_apt_gpg_key: "{{ docker_repo_url }}/{{ ansible_distribution | lower }}/gpg"
|
docker_apt_gpg_key: "{{ docker_repo_url }}/{{ ansible_distribution | lower }}/gpg"
|
||||||
docker_apt_filename: "docker"
|
docker_apt_filename: "docker"
|
||||||
|
Loading…
Reference in New Issue
Block a user