Skip to content

Commit

Permalink
Merge pull request #143 from vkill/feature-shred_git_identity_key
Browse files Browse the repository at this point in the history
Support shred git_identity_key
  • Loading branch information
ricardclau authored Jul 19, 2016
2 parents d62922b + e393f78 commit fa3eece
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/update-code/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fa3eece

Please sign in to comment.