mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
PR #10: Slight adjustment to legacy apt key task.
This commit is contained in:
parent
5fb6a4d60d
commit
6506efd7cd
@ -23,8 +23,10 @@
|
||||
register: add_repository_key
|
||||
ignore_errors: true
|
||||
|
||||
- name: Alternative | Add Docker apt key.
|
||||
- name: Add Docker apt key (alternative for older systems without SNI).
|
||||
shell: "curl -sSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -"
|
||||
args:
|
||||
warn: no
|
||||
when: add_repository_key|failed
|
||||
|
||||
- name: Add Docker repository.
|
||||
|
Loading…
Reference in New Issue
Block a user