mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 14:30:45 +08:00
Migrate prod to stg kerberos principals in the koji db during sync
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -165,5 +165,6 @@ insert into user_perms (user_id, perm_id, active, creator_id) values (
|
||||
('containerbuild', 'osbs/osbs.stg.fedoraproject.org')] %}
|
||||
update users set krb_principal='{{principal}}@STG.FEDORAPROJECT.ORG' where username='{{username}}';
|
||||
{% endfor %}
|
||||
update users set krb_principal=replace(krb_principal, '@FEDORAPROJECT.ORG', '@STG.FEDORAPROJECT.ORG');
|
||||
|
||||
VACUUM ANALYZE;
|
||||
|
||||
Reference in New Issue
Block a user