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