From 86c5b3f887b4cd37d4980fc3d5ef817ec4190c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Cs=C3=B3ka?= Date: Thu, 25 Apr 2019 16:11:30 +0200 Subject: [PATCH] Confom to newer Ansible lint --- tasks/setup-Debian.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 23a49ae..88580b3 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -22,11 +22,13 @@ ignore_errors: "{{ docker_apt_ignore_key_error }}" - name: Ensure curl is present (on older systems without SNI). - package: name=curl state=present + get_url: + url: https://download.docker.com/linux/ubuntu/gpg + dest: /tmp/docker-repo-key when: add_repository_key is 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 -" + shell: sudo apt-key add /tmp/docker-repo-key args: warn: false when: add_repository_key is failed