diff --git a/tasks/update-code/git.yml b/tasks/update-code/git.yml index 45fbf6f..d84da2e 100644 --- a/tasks/update-code/git.yml +++ b/tasks/update-code/git.yml @@ -29,6 +29,10 @@ register: ansistrano_git_result when: ansistrano_git_identity_key_path|trim != "" +- name: ANSISTRANO | GIT | Shred GIT deployment key + command: shred -f "{{ ansistrano_deploy_to }}/git_identity_key" + when: ansistrano_git_identity_key_path|trim != "" + - name: ANSISTRANO | GIT | Export a copy of the repo command: git checkout-index -f -a --prefix="{{ ansistrano_release_path.stdout }}/" args: