mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-08-02 13:46:22 +02:00
chore(ansible-lint): fix risky-shell-pipe
This commit is contained in:
parent
cd44a7c077
commit
f37bf31265
@ -44,6 +44,7 @@
|
|||||||
|
|
||||||
- name: Add Docker apt key (alternative for older systems without SNI). # noqa command-instead-of-module
|
- name: Add Docker apt key (alternative for older systems without SNI). # noqa command-instead-of-module
|
||||||
ansible.builtin.shell: >
|
ansible.builtin.shell: >
|
||||||
|
set -o pipefail
|
||||||
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
||||||
when: add_repository_key is failed and docker_add_repo | bool
|
when: add_repository_key is failed and docker_add_repo | bool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user