taskotron: set default check repo branch
This commit is contained in:
parent
5579bed478
commit
fea21a1019
5 changed files with 15 additions and 11 deletions
|
@ -37,5 +37,11 @@
|
|||
sudo_user: "{{ grokmirror_user }}"
|
||||
with_items: grokmirror_repos
|
||||
|
||||
- name: set up default branch
|
||||
command: chdir={{ grokmirror_basedir }}/{{ item.name }} git symbolic-ref HEAD refs/heads/{{ grokmirror_default_branch }}
|
||||
sudo: true
|
||||
sudo_user: "{{ grokmirror_user }}"
|
||||
with_items: grokmirror_repos
|
||||
|
||||
- name: generate grokmirror config
|
||||
template: src=repos.conf.j2 dest=/etc/grokmirror/repos.conf owner={{ grokmirror_user }} group={{ grokmirror_user }} mode=0644
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue