Skip to content

Instantly share code, notes, and snippets.

@jarv
Created January 14, 2014 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarv/8420644 to your computer and use it in GitHub Desktop.
Save jarv/8420644 to your computer and use it in GitHub Desktop.
- name: checkout code
git: dest={{ dir }} repo={{ repo }}
environment:
GIT_SSH: /tmp/git_ssh.sh
/tmp/git_ssh.sh
#!/bin/sh
exec /usr/bin/ssh -o StrictHostKeyChecking=no -i {{ git_identity }} "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment