Advertisement
Guest User

Untitled

a guest
May 27th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. ---
  2. - name: copy github keys for account
  3. copy: src=~/.ssh/id_rsa dest=~/.ssh/id_rsa mode=0600
  4.  
  5. - name: add github to known hosts.production
  6. shell: ssh-keyscan -H github.com >> ~/.ssh/ssh_known_hosts
  7.  
  8. - name: Make project directory writeable
  9. sudo: true
  10. file: path={deploy_path} mode=777
  11.  
  12. - name: Check out application from github
  13. git: accept_hostkey=true dest={deploy_path}/{project_name} repo=git@github.com:{project_namespace}/{project_name}.git
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement