Skip to content

Commit

Permalink
examples: use bash to unpack GPG
Browse files Browse the repository at this point in the history
Avoid pipefail error
  • Loading branch information
Wenzel authored Sep 13, 2023
1 parent 57cb724 commit 550a2bb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

- name: Unpack GPG key
ansible.builtin.shell: set -o pipefail && cat /tmp/hashicorp.key | gpg --batch --yes --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
args:
executable: /bin/bash
become: true

- name: Remove temp file
Expand Down

0 comments on commit 550a2bb

Please sign in to comment.