mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Right now we just run the cron to update osbuildapi ip on buildhw-x86 in prod, but we need to run it on the osbuild channel builders in staging too. Fixes ticket 11575. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
6 lines
366 B
Plaintext
6 lines
366 B
Plaintext
{% if host in groups['osbuild'] %}
|
|
*/5 * * * * root /usr/local/bin/lock-wrapper osbuildapi "/usr/local/bin/osbuildapi-update.sh" 2>&1 | /usr/local/bin/nag-once osbuildapi-update.sh 1d 2>&1
|
|
{% else %}
|
|
23 17 * * * root /usr/local/bin/lock-wrapper osbuildapi "/usr/local/bin/osbuildapi-update.sh" 2>&1 | /usr/local/bin/nag-once osbuildapi-update.sh 1d 2>&1
|
|
{% endif %}
|