mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-11-21 20:31:29 +00:00
add users
This commit is contained in:
parent
50f6d3a5fb
commit
b4cdd7786b
@ -58,6 +58,7 @@ koji_mbs_principal: mbs/mbs.rockylinux.org@ROCKYLINUX.ORG
|
||||
koji_mbs_keytab: /etc/keytabs/mbs.keytab
|
||||
|
||||
# GC
|
||||
koji_gc_name: garbageman
|
||||
koji_gc_keytab: /etc/keytabs/koji-gc.keytab
|
||||
koji_gc_principal: koji-gc/koji.rockylinux.org@ROCKYLINUX.ORG
|
||||
|
||||
|
@ -10,3 +10,9 @@ INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (3, 1, 1);
|
||||
with user_id as (insert into users (name, status, usertype) values ('{{ koji_sigul_user }}', 0, 0) returning id)
|
||||
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_sigul_principal }}');
|
||||
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (4, 1, 1);
|
||||
with user_id as (insert into users (name, status, usertype) values ('distrobuild', 0, 0) returning id)
|
||||
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'koji/distrobuild@ROCKYLINUX.ORG');
|
||||
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (5, 1, 1);
|
||||
with user_id as (insert into users (name, status, usertype) values ('{{ koji_gc_name }}', 0, 0) returning id)
|
||||
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_gc_principal }}');
|
||||
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (6, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user