Skip to content

Commit

Permalink
Copy SSH Key with copy rather than template module
Browse files Browse the repository at this point in the history
Doing so adds support for copying encrypted keys files directly. 

This was added to ansible in 2.1 to the copy command but seemingly not to template.
  • Loading branch information
bobbyshaw authored Jan 25, 2017
1 parent bf6371f commit dedc615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/update-code/git.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: ANSISTRANO | GIT | Ensure GIT deployment key is up to date
template:
copy:
src: "{{ ansistrano_git_identity_key_path }}"
dest: "{{ ansistrano_deploy_to }}/git_identity_key"
mode: 0400
Expand Down

0 comments on commit dedc615

Please sign in to comment.