Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr3166 :: Using Ansible to mirror a Git repo

Klaatu uses Ansible to mirror a Git repo on two separate Git hosts

<< First, < Previous, Latest >>

Hosted by klaatu on 2020-09-21 is flagged as Clean and is released under a CC-BY-SA license.
Tags: ansible,sysadmin,git.
Listen in ogg, spx, or mp3 format. | Comments (0)

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.


Comments

Subscribe to the comments RSS feed.

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?