mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Fix krb_principal for hotness user too
This commit is contained in:
@@ -154,7 +154,9 @@ insert into user_perms (user_id, perm_id, active, creator_id) values (
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
-- Fix krb principals for some users
|
-- Fix krb principals for some users
|
||||||
{% for username, principal in [('releng', 'compose/koji.stg.fedoraproject.org'), ('koschei', 'koschei/koschei-backend01.stg.phx2.fedoraproject.org')] %}
|
{% for username, principal in [('releng', 'compose/koji.stg.fedoraproject.org'),
|
||||||
|
('koschei', 'koschei/koschei-backend01.stg.phx2.fedoraproject.org'),
|
||||||
|
('hotness', 'hotness/hotness01.stg.phx2.fedoraproject.org')] %}
|
||||||
update users set krb_principal='{{principal}}@STG.FEDORAPROJECT.ORG' where username='{{username}}';
|
update users set krb_principal='{{principal}}@STG.FEDORAPROJECT.ORG' where username='{{username}}';
|
||||||
{% endfir %}
|
{% endfir %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user