git: kill gpg-agent in tests on newer OpenSUSE hosts (#52476) (#52490)

(cherry picked from commit bb0a69e084)
pull/52546/head
Jordan Borean 6 years ago committed by Matt Davis
parent fc21a94613
commit 7df1ea6e21

@ -182,7 +182,7 @@
- name: GPG-VERIFICATION | Stop gpg-agent so we can remove any locks on the GnuPG dir - name: GPG-VERIFICATION | Stop gpg-agent so we can remove any locks on the GnuPG dir
command: gpgconf --kill gpg-agent command: gpgconf --kill gpg-agent
when: ansible_os_family != 'Suse' # OpenSUSE ships with an older version of gpg-agent that doesn't support this when: ansible_os_family != 'Suse' or ansible_distribution_version != '42.3' # OpenSUSE 42.3 ships with an older version of gpg-agent that doesn't support this
environment: environment:
GNUPGHOME: "{{ git_gpg_gpghome }}" GNUPGHOME: "{{ git_gpg_gpghome }}"

Loading…
Cancel
Save