From f37bf312655daba54de412c158a352dd6370e425 Mon Sep 17 00:00:00 2001 From: juju4 Date: Sat, 11 Feb 2023 22:46:12 +0000 Subject: [PATCH] chore(ansible-lint): fix risky-shell-pipe --- tasks/setup-Debian.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 48428ae..e549606 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -44,6 +44,7 @@ - name: Add Docker apt key (alternative for older systems without SNI). # noqa command-instead-of-module ansible.builtin.shell: > + set -o pipefail curl -sSL {{ docker_apt_gpg_key }} | apt-key add - when: add_repository_key is failed and docker_add_repo | bool