mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-08-02 13:46:22 +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).
|
- name: Add Docker apt key (alternative for older systems without SNI).
|
||||||
shell: >
|
shell: >
|
||||||
|
set -e -o pipefail
|
||||||
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
||||||
args:
|
args:
|
||||||
warn: false
|
warn: false
|
||||||
|
Loading…
Reference in New Issue
Block a user