mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-08-02 13:46:22 +02:00
fix: ansible pipefail requires bash, retry
This commit is contained in:
parent
0f86fa18d6
commit
e9ee9775fe
@ -46,6 +46,10 @@
|
|||||||
ansible.builtin.shell: >
|
ansible.builtin.shell: >
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
curl -sSL {{ docker_apt_gpg_key }} | apt-key add -
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
|
register: dl
|
||||||
|
until: dl is success
|
||||||
when: add_repository_key is failed and docker_add_repo | bool
|
when: add_repository_key is failed and docker_add_repo | bool
|
||||||
|
|
||||||
- name: Add Docker repository.
|
- name: Add Docker repository.
|
||||||
|
Loading…
Reference in New Issue
Block a user