Merge "mirror-update: seed cron time with unique job name"
This commit is contained in:
commit
d56082920c
@ -45,7 +45,7 @@
|
||||
state: present
|
||||
job: 'flock -n /var/run/{{ item }}-mirror.lock {{ item }}-mirror-update mirror.{{ item }} >> /var/log/rsync-mirrors/{{ item }}.log 2>&1'
|
||||
hour: '*/2'
|
||||
minute: '{{ 45 | random(seed=inventory_hostname) }}'
|
||||
minute: '{{ 45 | random(seed=item) }}'
|
||||
loop: '{{ rsync_update_scripts }}'
|
||||
|
||||
- name: Install logrotate rules
|
||||
|
Loading…
Reference in New Issue
Block a user