browser_fxa
Tags: none of its own — pulled in by zen_browser via include_role, so it runs under desktop, browser, zen_browser
Secrets needed: Yes (Firefox Account credentials from Bitwarden)
Runs on: Desktop group only
Automates Firefox Account sign-in for Zen Browser (and optionally Firefox).
What It Does
- Fetches
accounts.firefox.comcredentials + TOTP from Bitwarden - Writes
signedInUser.jsonto the browser profile directory - This pre-authenticates the browser with Firefox Sync
Configuration
# group_vars/all.yml
fxa_bw_item: "accounts.firefox.com"
fxa_bw_username: "<your-fxa-email>"
fxa_browsers:
- zen
- firefox
- firefox-flatpak
Notes
- This only enables FxA sign-in, not the full Sync key bundle
- Opening the browser once after deployment may still be needed to complete Sync
- If credentials are unavailable, the task fails silently — manual sign-in works fine