diff --git a/roles/taskotron/grokmirror/templates/grokmirror-update-repos.cron.j2 b/roles/taskotron/grokmirror/templates/grokmirror-update-repos.cron.j2 new file mode 100644 index 0000000000..0efb115ec9 --- /dev/null +++ b/roles/taskotron/grokmirror/templates/grokmirror-update-repos.cron.j2 @@ -0,0 +1,6 @@ +### Update grokmirror repos + +{% for item in grokmirror_repos %} +# pull repo for {{ item.name }} +@hourly {{ grokmirror_user }} cd {{ grokmirror_basedir }}/{{ item.name }} && git fetch origin {{ grokmirror_default_branch }}:{{ grokmirror_default_branch }} +{% endfor %}