Ansible role for installing a list git mirrors on a gitlab runner.
[[TOC]]
- Main repo: https://gitlab.comwork.io/oss/ansible-iac/ansible-git-mirror.git
- Github mirror: https://github.com/comworkio/ansible-git-mirror.git
- Gitlab mirror: https://gitlab.com/ineumann/ansible-git-mirror.git
- Just use this ansible role on your gitlab runners, override the default configuration with the list of repository and their mirrors/remotes and the git credentials
- Use a pipeline that will run this bash script on git push. Here's an example with gitlab runner.