Fix matched condition for gpg signing
We actually want to sign the items we found if greater then zero, as it results the number of files found. Change-Id: I48014bb437a575c1d639a8a68e76b7ed06df2278 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
7a6863ab09
commit
466add5613
@ -23,7 +23,7 @@
|
||||
- name: Sign artifacts
|
||||
command: "gpg --homedir {{ gnupg_tmpdir.path }} --armor --detach-sign {{ item.path }}"
|
||||
with_items: "{{ artifacts.files }}"
|
||||
when: artifacts.matched|bool
|
||||
when: artifacts.matched > 0
|
||||
|
||||
- name: Delete keyring directory
|
||||
file:
|
||||
|
Loading…
Reference in New Issue
Block a user