From 6506efd7cdf45175b5c4d28605b31cf258455014 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 23 May 2017 20:28:47 -0400 Subject: [PATCH] PR #10: Slight adjustment to legacy apt key task. --- tasks/setup-Debian.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 8e479a1..a57280d 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -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.