From 6e9b3b5c9e0b53943f901e514656ea0002453738 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 30 May 2017 17:11:58 -0500 Subject: [PATCH] Issue #7: Ensure curl is present on older systems without SNI. --- tasks/setup-Debian.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index a57280d..d0be48d 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -23,6 +23,10 @@ register: add_repository_key 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). shell: "curl -sSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -" args: