Issue #7: Ensure curl is present on older systems without SNI.
This commit is contained in:
parent
1ba82d6510
commit
6e9b3b5c9e
|
@ -23,6 +23,10 @@
|
||||||
register: add_repository_key
|
register: add_repository_key
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
- name: Ensure curl is present (on older systems without SNI).
|
||||||
|
package: name=curl state=present
|
||||||
|
when: add_repository_key|failed
|
||||||
|
|
||||||
- name: Add Docker apt key (alternative for older systems without SNI).
|
- 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 -"
|
shell: "curl -sSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -"
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user