mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 14:30:29 +08:00
kojibuilder: drop trying to add identity in prod as it is already included with api
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -19,7 +19,9 @@ do
|
||||
/usr/sbin/ipset add osbuildapi $j
|
||||
done
|
||||
|
||||
# in both stg and prod apparently we use idenity.adpi.openshift.com for auth
|
||||
{% if env == 'staging' %}
|
||||
# in stg we need to add identity.api because we are using api.stage above.
|
||||
# in prod this is already the same as api.openshift.com, so skip it.
|
||||
RESOLVEQUERY=`resolvectl --cache=no --legend=no query identity.api.openshift.com 2> /dev/null`
|
||||
test $? -eq 0 || exit $?
|
||||
|
||||
@@ -29,3 +31,4 @@ for j in $NEWIDENTITYIPS
|
||||
do
|
||||
/usr/sbin/ipset add osbuildapi $j
|
||||
done
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user