Skip to content

Instantly share code, notes, and snippets.

/git issue Secret

Created February 19, 2016 23:17
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 anonymous/676d282e17e15c906971 to your computer and use it in GitHub Desktop.
Save anonymous/676d282e17e15c906971 to your computer and use it in GitHub Desktop.
deploy_fromGit:
module.run:
- name: git.clone
- cwd: {{ location }}
- repository: https://********/gitblit/r/*******.git
- https_user: *****
- https_pass: *****
- https_only: True
- target: {{ location }}
- remote_name: origin
- rev: {{ branch }}
- opts: {{ git_opts }}
- unless: test -e {{ location }}/app
- require:
- pkg: install_****_deps
- pkg: install_git_pkgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment