1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
Jordan Borean 2019-02-18 21:30:31 +10:00 committed by GitHub
parent 1d8e9db4a9
commit bb0a69e084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}"