From 4a756109f7f7b79063d1a2efb294d4afc8126578 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 28 Aug 2018 09:59:46 +0200 Subject: [PATCH] Comment failback of add docker apt key --- tasks/docker.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tasks/docker.yml b/tasks/docker.yml index b805bc1..9e653b4 100644 --- a/tasks/docker.yml +++ b/tasks/docker.yml @@ -21,19 +21,19 @@ url: https://download.docker.com/linux/ubuntu/gpg id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 state: present - register: add_repository_key - -- name: Ensure curl is present. - package: - - name: curl - - state: present - 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 -" - args: - warn: no - when: add_repository_key is failed + # register: add_repository_key + # + # - name: Ensure curl is present. + # package: + # - name: curl + # - state: present + # 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 -" + # args: + # warn: no + # when: add_repository_key is failed - name: Add Docker repository. apt_repository: