diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 index ed31e8fbf5..89d7a371c0 100755 --- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 +++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 @@ -47,7 +47,7 @@ def retry_session(): # Ansible configured global variables STAGING = {{ 'True' if env == 'staging' else 'False' }} -HOSTNAME = '{{ inventory_hostname }}' +HOSTNAME = 'bodhi{{ env_suffix }}.fedoraproject.org' IPA_REALM = '{{ ipa_realm }}' ENV_SUFFIX = '{{ env_suffix }}' if STAGING: