mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-11-25 06:11:23 +00:00
add MBS service
This commit is contained in:
parent
e383fe2bd7
commit
d6132b97d2
@ -47,6 +47,13 @@ koji_kojira_user_kerb: koji/kojira
|
|||||||
koji_kojira_principal: koji/kojira@ROCKYLINUX.ORG
|
koji_kojira_principal: koji/kojira@ROCKYLINUX.ORG
|
||||||
koji_kojira_keytab: /etc/koji.keytab
|
koji_kojira_keytab: /etc/koji.keytab
|
||||||
|
|
||||||
|
# MBS
|
||||||
|
koji_mbs: true
|
||||||
|
koji_mbs_user: mbs
|
||||||
|
koji_mbs_user_kerb: mbs/mbs.rockylinux.org
|
||||||
|
koji_mbs_principal: mbs/mbs.rockylinux.org@ROCKYLINUX.ORG
|
||||||
|
koji_mbs_keytab: /etc/mbs.keytab
|
||||||
|
|
||||||
# Storage
|
# Storage
|
||||||
koji_nfs: true
|
koji_nfs: true
|
||||||
koji_mount: /mnt/koji
|
koji_mount: /mnt/koji
|
||||||
|
@ -4,3 +4,6 @@ insert into user_perms (user_id, perm_id, creator_id) values (1, 1, 1);
|
|||||||
with user_id as (insert into users (name, status, usertype) values ('{{ koji_kojira_user_kerb }}', 0, 0) returning id)
|
with user_id as (insert into users (name, status, usertype) values ('{{ koji_kojira_user_kerb }}', 0, 0) returning id)
|
||||||
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_kojira_principal }}');
|
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_kojira_principal }}');
|
||||||
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (2, 10, 1);
|
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (2, 10, 1);
|
||||||
|
with user_id as (insert into users (name, status, usertype) values ('{{ koji_mbs_user_kerb }}', 0, 0) returning id)
|
||||||
|
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_mbs_principal }}');
|
||||||
|
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (3, 1, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user