hpr3166 :: Using Ansible to mirror a Git repo
Klaatu uses Ansible to mirror a Git repo on two separate Git hosts
Hosted by Klaatu on Monday, 2020-09-21 is flagged as Clean and is released under a CC-BY-SA license.
ansible, sysadmin, git.
(Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr3166
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:26:20
general.
I came up with a way to easily clone a repo living on Github and mirror it, with all the latest commits, on another Git host. You can schedule Ansible to run periodically to ensure your mirror stays updated.
This is Dwayne Lee's improved implementation based on my original script.