Trying to fix syntax error
This commit is contained in:
parent
e77be00da9
commit
7af08dabbb
1 changed files with 1 additions and 5 deletions
|
@ -47,9 +47,5 @@
|
|||
template: src=repos.conf.j2 dest=/etc/grokmirror/repos.conf owner={{ grokmirror_user }} group={{ grokmirror_user }} mode=0644
|
||||
|
||||
- name: install cron jobs to update repos
|
||||
cron:
|
||||
name="pull repo for {{ item.name }}"
|
||||
user={{ grokmirror_user }}
|
||||
special_time=hourly
|
||||
job="cd {{ grokmirror_basedir }}/{{ item.name }} && git fetch origin {{ grokmirror_default_branch }}:{{ grokmirror_default_branch }}"
|
||||
cron: name="pull repo for {{ item.name }}" user={{ grokmirror_user }} special_time=hourly job="cd {{ grokmirror_basedir }}/{{ item.name }} && git fetch origin {{ grokmirror_default_branch }}:{{ grokmirror_default_branch }}"
|
||||
with_item: grokmirror_repos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue