fix: use bash for gpg dearmor (pipefail not available in sh)
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent
74db5f28c7
commit
119d70e137
@@ -12,6 +12,7 @@
|
|||||||
curl -fsSL "https://download.docker.com/linux/{{ ansible_facts['distribution'] | lower }}/gpg" | gpg --dearmor -o {{ docker_gpg_key_path }}
|
curl -fsSL "https://download.docker.com/linux/{{ ansible_facts['distribution'] | lower }}/gpg" | gpg --dearmor -o {{ docker_gpg_key_path }}
|
||||||
args:
|
args:
|
||||||
creates: "{{ docker_gpg_key_path }}"
|
creates: "{{ docker_gpg_key_path }}"
|
||||||
|
executable: /bin/bash
|
||||||
when: ansible_facts['os_family'] == 'Debian'
|
when: ansible_facts['os_family'] == 'Debian'
|
||||||
|
|
||||||
- name: Add Docker APT repository (Debian/Ubuntu)
|
- name: Add Docker APT repository (Debian/Ubuntu)
|
||||||
|
|||||||
Reference in New Issue
Block a user