mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-08-02 13:46:22 +02:00
pipefail linter error, syntax fix
This commit is contained in:
parent
1be5608a53
commit
ccc31dda40
@ -23,11 +23,14 @@
|
||||
ignore_errors: "{{ docker_apt_ignore_key_error }}"
|
||||
|
||||
- name: Ensure curl is present (on older systems without SNI).
|
||||
package: name=curl state=present
|
||||
package:
|
||||
name: curl
|
||||
state: present
|
||||
when: add_repository_key is failed
|
||||
|
||||
- name: Add Docker apt key (alternative for older systems without SNI).
|
||||
shell: >
|
||||
shell: |
|
||||
set -o pipefail
|
||||
curl -sSL {{ docker_apt_gpg_key }} | sudo apt-key add -
|
||||
args:
|
||||
warn: false
|
||||
|
Loading…
Reference in New Issue
Block a user