fix: ansible pipefail requires bash, retry

This commit is contained in:
juju4 2023-06-17 15:02:38 +00:00
parent 0f86fa18d6
commit e9ee9775fe

View File

@ -46,6 +46,10 @@
ansible.builtin.shell: >
set -o pipefail
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
- name: Add Docker repository.