
Enable the Ansible based cron jobs, and disable the puppet host versions to cut over the mirroring to the new server. Change-Id: I0ffb1c484e64e67f5a5017dc3c3c8ebcdc3845c8
8 lines
328 B
YAML
8 lines
328 B
YAML
- 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 {{ _dir }} {{ _volume }} >> /var/log/reprepro/{{ _dir }}.log 2>&1'
|
|
hour: '*/2'
|
|
minute: '{{ 45 | random(seed=inventory_hostname) }}'
|