HPR3166: Using Ansible to mirror a Git repo
Hacker Public Radio
English - September 21, 2020 00:00 - 12.4 MB - ★★★★ - 33 ratingsTechnology News Tech News community radio tech interviews linux open hobby software freedom Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: HPR3165: Spanish Tools Continued
Next Episode: HPR3167: A ramble with the Pentland Squires (part 1)
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.