Remove secrets file after download.
This commit is contained in:
parent
33d4f011a0
commit
00ec9ed7f4
@ -12,3 +12,8 @@
|
||||
|
||||
- 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 }}"
|
||||
|
||||
- name: Remove secrets.tar.gz.enc
|
||||
ansible.builtin.file:
|
||||
path: "{{ WORKDIR }}/secrets.tar.gz.enc"
|
||||
state: absent
|
||||
|
Loading…
Reference in New Issue
Block a user