mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-07-28 13:46:36 +02:00
refactor: add error check for shell pipe
risky-shell-pipe: Shells that use pipes should set the pipefail option tasks/setup-Debian.yml:40 Task/Handler: Add Docker apt key (alternative for older systems without SNI). Fixes geerlingguy/ansible-role-docker#327
This commit is contained in:
parent
eeef0c0082
commit
b3af940cdf
@ -39,6 +39,7 @@
|
||||
|
||||
- name: Add Docker apt key (alternative for older systems without SNI).
|
||||
shell: >
|
||||
set -e -o pipefail
|
||||
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
||||
args:
|
||||
warn: false
|
||||
|
Loading…
Reference in New Issue
Block a user