diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-22 19:53:43 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-22 19:53:43 +0200 |
commit | c17fccec08689065c8f4f902544e984521c7437b (patch) | |
tree | 762e7e346682fefa054e69391bdb85ba6f8f76b0 /inventory/group_vars/all | |
parent | ch-apps: upgrade whawty-auth to latest release (diff) |
revamp: user/group handling
Diffstat (limited to 'inventory/group_vars/all')
-rw-r--r-- | inventory/group_vars/all/vars.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/inventory/group_vars/all/vars.yml b/inventory/group_vars/all/vars.yml index f72f71ef..03bce8d5 100644 --- a/inventory/group_vars/all/vars.yml +++ b/inventory/group_vars/all/vars.yml @@ -12,11 +12,19 @@ ssh_users_root: ssh_keys_root: "{{ ssh_users_root | default([]) | map('extract', users) | map(attribute='ssh') | flatten | list }}" ssh_keys_root_extra: [] +## to be overriden in host_vars +normal_users_host: [] admin_users_host: [] -sshd_allowusers_host: "{{ admin_users_host }}" +sshd_allowusers_host: "{{ normal_users_host | union(admin_users_host) }}" +normal_groups_host: {} +system_groups_host: {} +## to be overriden in group_vars +normal_users_group: [] admin_users_group: [] -sshd_allowusers_group: "{{ admin_users_group }}" +sshd_allowusers_group: "{{ normal_users_group | union(admin_users_group) }}" +normal_groups_group: {} +system_groups_group: {} apt_repo_provider: default |