Trying to fix syntax error

This commit is contained in:
Martin Krizek 2016-04-15 08:13:20 +00:00
parent e77be00da9
commit 7af08dabbb

View file

@ -47,9 +47,5 @@
template: src=repos.conf.j2 dest=/etc/grokmirror/repos.conf owner={{ grokmirror_user }} group={{ grokmirror_user }} mode=0644 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 - name: install cron jobs to update repos
cron: 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 }}"
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 with_item: grokmirror_repos