mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Create maildir directories during desktop bootstrap
Provision the Maildir root and per-account directories before the mail bootstrap script runs so initial mbsync and mu setup have a consistent local destination.
This commit is contained in:
@@ -87,6 +87,18 @@
|
|||||||
- path: "{{ user_home }}/.local/src"
|
- path: "{{ user_home }}/.local/src"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: Ensure maildir directories exist
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
owner: "{{ username }}"
|
||||||
|
group: "{{ user_group }}"
|
||||||
|
mode: "0700"
|
||||||
|
loop:
|
||||||
|
- "{{ user_home }}/Maildir"
|
||||||
|
- "{{ user_home }}/Maildir/iCloudAccount"
|
||||||
|
- "{{ user_home }}/Maildir/ProtonMailAccount"
|
||||||
|
|
||||||
- name: Bootstrap iCloud keyring secret from Ansible vault
|
- name: Bootstrap iCloud keyring secret from Ansible vault
|
||||||
when: desktop_manage_icloud_keyring | default(false)
|
when: desktop_manage_icloud_keyring | default(false)
|
||||||
block:
|
block:
|
||||||
|
|||||||
Reference in New Issue
Block a user