I'm running numerous Django-Q clusters (on Ubuntu focal) to perform distributed computing on large data sets. I have production clusters and development clusters that each have their own git branch. I need a way to synchronize the updating and restarting of these cluster systemctl services when changes to their respective git repositories are made.
Currently I ssh into each machine and run the following commands.
$ git pull
$ sudo systemctl restart qcluster
I appreciate any ideas you may have.