Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Fix exit status 1 on Ensure a GPG agent is running #1622

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
4 changes: 4 additions & 0 deletions playbooks/roles/gpg/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@
mode: 0750

- name: "Ensure a GPG agent is running"
become_user: root
become: true
command: "gpgconf --launch gpg-agent"

- name: "Reload gpg-agent to pick up configuration changes"
become_user: root
become: true
command: "gpgconf --reload gpg-agent"

# It turns out that "--reload" doesn't work on dirmngr.
Expand Down