mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 05:39:52 +00:00
Provision the iCloud Thunderbird profile on GNOME desktops
Seed a Thunderbird profile on ikaros and nymph with the iCloud account already declared: IMAP imap.mail.me.com:993 over SSL/TLS, SMTP smtp.mail.me.com:587 over STARTTLS, identity and folder mapping, one CalDAV calendar and one CardDAV address book. Account defaults are rendered into a managed user.js because Thunderbird rewrites prefs.js on exit, while user.js is re-applied at every start. profiles.ini is seeded only when absent so a profile list Thunderbird already owns is never replaced. The address comes from vault_icloud_email and the display name from vault_personal_full_name. The app-specific password is deliberately not stored: Thunderbird requests it on first use and keeps it in its own credential store. Validated by rendering the templates and running Thunderbird 158 headless against a sandbox profile: the account was accepted, Local Folders was created by Thunderbird itself, the CalDAV calendar registered as default and the CardDAV directory instantiated its abook-icloud.sqlite.
This commit is contained in:
23
README.md
23
README.md
@@ -639,6 +639,29 @@ Run locally on each workstation (`ansible_connection: local`); use `--limit nymp
|
||||
on the laptop. With a cold RPM cache, check mode reports that dependency resolution
|
||||
is not validated; the real run downloads, verifies, and installs the package.
|
||||
|
||||
### Thunderbird iCloud profile on Fedora
|
||||
|
||||
`profile_desktop_gnome` seeds a Thunderbird profile for `ikaros` and `nymph` so the
|
||||
iCloud account is already declared: IMAP `imap.mail.me.com:993` over SSL/TLS, SMTP
|
||||
`smtp.mail.me.com:587` over STARTTLS, the identity and folder mapping, one CalDAV
|
||||
calendar (`caldav.icloud.com`) and one CardDAV address book (`contacts.icloud.com`).
|
||||
|
||||
The account defaults live in a managed `user.js`, not in `prefs.js`: Thunderbird
|
||||
rewrites `prefs.js` on exit, while `user.js` is re-applied at every start.
|
||||
`profiles.ini` is only seeded when absent, so a profile list Thunderbird already
|
||||
owns is never replaced.
|
||||
|
||||
The address comes from `vault_icloud_email` and the display name from
|
||||
`vault_personal_full_name`. The password is deliberately not stored: iCloud mail
|
||||
requires an app-specific password, which Thunderbird requests on first use and
|
||||
keeps in its own credential store. Set `thunderbird_icloud_enabled: false` to stop
|
||||
managing the profile without deleting it.
|
||||
|
||||
```bash
|
||||
ansible-playbook ansible/site.yml --limit ikaros --tags thunderbird --check --diff
|
||||
ansible-playbook ansible/site.yml --limit ikaros --tags thunderbird -K
|
||||
```
|
||||
|
||||
## Main roles
|
||||
|
||||
| Role | What it does |
|
||||
|
||||
Reference in New Issue
Block a user