Remove secrets file after download.

This commit is contained in:
yohan 2023-11-04 18:09:49 +01:00
parent 33d4f011a0
commit 00ec9ed7f4

View File

@ -12,3 +12,8 @@
- name: Extract from secrets.tar.gz.enc - name: Extract from secrets.tar.gz.enc
shell: "openssl enc -aes-256-cbc -md md5 -pass env:SECRETS_ARCHIVE_PASSPHRASE -d -in {{ WORKDIR }}/secrets.tar.gz.enc | tar -zxv -C {{ WORKDIR }}" shell: "openssl enc -aes-256-cbc -md md5 -pass env:SECRETS_ARCHIVE_PASSPHRASE -d -in {{ WORKDIR }}/secrets.tar.gz.enc | tar -zxv -C {{ WORKDIR }}"
- name: Remove secrets.tar.gz.enc
ansible.builtin.file:
path: "{{ WORKDIR }}/secrets.tar.gz.enc"
state: absent