docs: record UniFi SSO login change and Ansible management (W1N-51)
This commit is contained in:
@@ -59,3 +59,26 @@ ansible-playbook playbooks/maintenance-preview.yml
|
||||
# Baseline observations; logrotate management remains opt-in
|
||||
ansible-playbook playbooks/baseline.yml
|
||||
```
|
||||
|
||||
## UniFi SSO login setting (mutating)
|
||||
|
||||
Reconciles `super_sdn.sso_login_enabled` on the UniFi controller (host `ubnt`,
|
||||
group `unifi`). Idempotent and gated: without `unifi_sso_confirm=true` the
|
||||
playbook only reports the current state and refuses to change anything.
|
||||
|
||||
```bash
|
||||
# Read-only status report
|
||||
ansible-playbook playbooks/unifi-sso.yml --limit unifi --check
|
||||
|
||||
# Apply (disable SSO login; local accounts use local passwords, no MFA)
|
||||
ansible-playbook playbooks/unifi-sso.yml --limit unifi \
|
||||
-e '{"unifi_sso_confirm": true, "unifi_sso_target_value": false}'
|
||||
|
||||
# Rollback (re-enable SSO login)
|
||||
ansible-playbook playbooks/unifi-sso.yml --limit unifi \
|
||||
-e '{"unifi_sso_confirm": true, "unifi_sso_target_value": true}'
|
||||
```
|
||||
|
||||
The controller container is not restarted by default; the UI path applies the
|
||||
setting immediately. Set `unifi_sso_restart_controller: true` only when the
|
||||
setting was changed directly in the DB while the controller was running.
|
||||
|
||||
Reference in New Issue
Block a user