Commit 6c3a7cf4 by John Jarvis

naming bugs

parent 9d28acfb
......@@ -14,6 +14,6 @@ gh_mirror_orgs:
gh_mirror_debian_pkgs:
- python-yaml
- python-requests
gh_app_files:
gh_mirror_app_files:
- gh_mirror_cron.sh
- repo_from_orgs.py
- repos_from_orgs.py
......@@ -17,8 +17,11 @@ for repo_url in $(cat /var/tmp/repos.txt); do
repo_name=${repo_url##*/}
if [[ ! -d $data_dir/$repo_name ]]; then
git clone --mirror $repo_url $data_dir/$repo_name
cd $data_dir/$repo_name
git update-server-info
else
cd $data_dir/$repo_name
git remote update
git update-server-info
fi
done
......@@ -19,6 +19,6 @@
- name: gh_mirror | create org config
template: src=orgs.yml.j2 dest={{ gh_mirror_app_dir }}/orgs.yml
- name: copying sync scripts
- name: copying sync scripts {{ gh_mirror_app_files }}
copy: src={{ item }} dest={{ gh_mirror_app_dir }}/{{ item }}
with_items: "{{ gh_mirror_app_files }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment