dotfiles/roles/cockpit/defaults/main.yml
Matej Focko 7d8d187e97
feat(cockpit): allow 2FA auth
Fixes #60

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-12-14 20:53:24 +01:00

11 lines
519 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
# Boolean variable that adjust the Cockpit config when it's being served via
# reverse proxy (adjusts the origin, so that the Cockpit doesn't drop sessions,
# and checks for SSL/TLS connections)
cockpit_has_reverse_proxy: false
# Boolean variable that denotes whether to install dependencies for 2FA auth
# to Cockpit (Google Authenticator and QR encoding utilities for enrolling the
# OTP), also installs the rule to the pam.d so that the 2FA is required for
# logging in to the Cockpit.
cockpit_2fa: false