diff --git a/roles/sign-artifacts/tasks/main.yaml b/roles/sign-artifacts/tasks/main.yaml index a83c834cb..203ae84e8 100644 --- a/roles/sign-artifacts/tasks/main.yaml +++ b/roles/sign-artifacts/tasks/main.yaml @@ -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