Skip to content

thatnerdjosh/ansible-git-code-pull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple role which pulls down code from a git repo, this may be useful when you are deploying code and need to ensure that your codebase is up to date on your servers :) Below is a sample playbook that shows the usage. Feel free to PR and fork :D

---
- hosts: local
  roles:
    - role: git_code_pull
      code_repo: "ssh://git@dev.goclean.catzcode.com:2222/nerdsville/goclean.git"
      code_root: "/home/code/goclean/branches"
      current_branch: "dev"
      owner: "vagrant"
      group: "vagrant"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published