geerlingguy / ansible-role-docker

Ansible Role - Docker
https://galaxy.ansible.com/geerlingguy/docker/
MIT License
1.81k stars 854 forks source link

ansible-lint yaml warning: risky-shell-pipe: Shells that use pipes should set the pipefail option #327

Closed kare closed 2 years ago

kare commented 2 years ago

I have ansible-role-docker installed in my playbook and when I run command ansible-lint playbook.yaml I get the following warning:

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).

I don't expect to see any warnings from ansible-lint.

geerlingguy commented 2 years ago

See explanation in linked PR #328