From 9b2739908ba2f1454740e18d17b50d9d657c7bf4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 9 May 2018 05:39:23 +0200 Subject: [PATCH] Update ODCS config with new spec for users and groups Signed-off-by: Patrick Uiterwijk --- inventory/group_vars/odcs-frontend | 2 +- roles/odcs/base/defaults/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inventory/group_vars/odcs-frontend b/inventory/group_vars/odcs-frontend index 7907969c39..2299ca36d4 100644 --- a/inventory/group_vars/odcs-frontend +++ b/inventory/group_vars/odcs-frontend @@ -41,7 +41,7 @@ odcs_target_dir_url: https://odcs.fedoraproject.org/composes # for taskotron. # Give access to sgallagh to be able to generate testing composes for new # modules. -odcs_allowed_clients_users: ["jscotka", "sgallagh"] +odcs_allowed_clients_users: {"jscotka": {}, "sgallagh": {}} # For the MOTD csi_security_category: Low diff --git a/roles/odcs/base/defaults/main.yml b/roles/odcs/base/defaults/main.yml index 39a52556a3..213c2b8894 100644 --- a/roles/odcs/base/defaults/main.yml +++ b/roles/odcs/base/defaults/main.yml @@ -5,8 +5,8 @@ odcs_pdc_insecure: False odcs_pdc_develop: True odcs_target_dir: /srv/odcs odcs_target_dir_url: http://{{ inventory_hostname }}/composes -odcs_allowed_clients_groups: ["sysadmin-mbs"] -odcs_allowed_clients_users: [] +odcs_allowed_clients_groups: {"sysadmin-mbs": {}} +odcs_allowed_clients_users: {} odcs_admin_groups: ["sysadmin-mbs"] odcs_admin_users: [] odcs_allowed_source_types: ["tag", "module"]