Skip to content

Instantly share code, notes, and snippets.

@jarv
Last active December 30, 2015 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jarv/7775280 to your computer and use it in GitHub Desktop.
Save jarv/7775280 to your computer and use it in GitHub Desktop.
- name: check out code
git: dest=path/to/dest repo=some_repo version=master
environment:
GIT_SSH: /tmp/git_ssh.sh
git_ssh.sh:
#!/bin/sh
exec /usr/bin/ssh -o StrictHostKeyChecking=no -i /path/to/git-identity "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment