Skip to content

Use Ansible to duplicate Git repos in multiple locations.

Notifications You must be signed in to change notification settings

dwayne-lee/mirrored_repos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Use Ansible to mirror Git repos in multiple locations

Ever have a need to maintain code in multiple Git repositories?
This simple Ansible Playbook can accomplish the task.

To mirror a repo, perform the following:

1. Add a new "include_task" section in mirror_repos.yml. (Add repo_name and source/dest url's)
2. Create an empty repo at the destination location.
3. Run the mirror_repos.yml playbook.

About

Use Ansible to duplicate Git repos in multiple locations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published