From 9f9ad7ee92b055bbbbe53459eae670aa39f9e47b Mon Sep 17 00:00:00 2001 From: coaxial Date: Fri, 11 May 2018 09:11:11 -0400 Subject: [PATCH] Fix deprecation warning --- tasks/setup-Debian.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 62e4d1d..8805ba6 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -25,13 +25,13 @@ - name: Ensure curl is present (on older systems without SNI). package: name=curl state=present - when: add_repository_key|failed + 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|failed + when: add_repository_key is failed - name: Add Docker repository. apt_repository: