koji_builder: adjust osbuild api job to run in stg also
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>
This commit is contained in:
parent
f42ce93d85
commit
4581d1f7c4
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{% if inventory_hostname.startswith('buildhw-x86') %}
|
||||
{% 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue