mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
Model change: per-user 'reserved: true|false' becomes 'accounts', a list of host/mailbox/identity account types. Default when absent derives from roles (bot/administrator -> [mailbox, identity], else [identity]) both for role-file users and — via _apply_account_defaults after the inventory merge — for inventory-only users, so users like biber keep their LDAP/Keycloak accounts. Auto-generated role-suffix reservations get accounts: []. New 'forward' field: mailu creates <username>@domain -> forward user's email via the new 04b_manage_alias.yml (create-only; no_log on the loop so user dicts never hit the log). Mailbox creation and password rotation now gate on 'mailbox' in accounts instead of role names; the mailu rbac role is renamed mail-bot -> bot (token gate included). svc-db-openldap drops the provision.reserved flag; OPENLDAP_USERS is always the identity subset. reserved_usernames/non_reserved_users now classify by 'identity' in accounts, keeping the Keycloak deny-list semantics. root/backup pin accounts: [host], administrator [host, mailbox, identity], helpdesk [mailbox]. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5 lines
99 B
YAML
5 lines
99 B
YAML
---
|
|
roles:
|
|
bot:
|
|
description: Bot/service account with an API token (e.g. email send/receive)
|