- name: Install update cron jobs cron: name: '{{ _string_name }} reprepro mirror sync' state: present job: 'flock -n /var/run/reprepro/{{ _dir }}.lock reprepro-mirror-update /etc/reprepro/{{ _dir }} {{ _volume }} >> /var/log/reprepro/{{ _dir }}.log 2>&1' hour: '*/2' minute: '{{ 45 | random(seed=_string_name) }}'