chore(ansible-lint): fix risky-shell-pipe

This commit is contained in:
juju4 2023-02-11 22:46:12 +00:00
parent cd44a7c077
commit f37bf31265

View File

@ -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