Merge "Delete keyring dir when we're done"

This commit is contained in:
Zuul 2017-08-22 23:47:51 +00:00 committed by Gerrit Code Review
commit d7d90adbc0
1 changed files with 5 additions and 0 deletions

View File

@ -24,3 +24,8 @@
command: "gpg --homedir {{ gnupg_tmpdir.path }} --armor --detach-sign {{ item.path }}"
with_items: "{{ artifacts.files }}"
when: artifacts.matched|bool
- name: Delete keyring directory
file:
path: "{{ gnupg_tmpdir.path }}"
state: absent