mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 21:59:50 +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:
@@ -279,3 +279,8 @@
|
||||
loop_control:
|
||||
label: "{{ item }}"
|
||||
when: workstation_firewall_backend | default('firewalld') == 'firewalld'
|
||||
|
||||
- name: Configure Thunderbird for iCloud
|
||||
tags: [dotfiles, dotfiles:desktop, gnome, thunderbird]
|
||||
ansible.builtin.import_tasks: thunderbird.yml
|
||||
when: thunderbird_icloud_enabled | default(false) | bool
|
||||
|
||||
Reference in New Issue
Block a user