mirror of
https://github.com/fscotto/infra.git
synced 2026-10-03 13:29:58 +00:00
* Design gated Atlas iCloudPD migration target * Target Atlas iCloudPD photos to Photobook * Record isolated iCloudPD Photobook ACL validation * Record Aegis iCloudPD source audit gap * Verify iCloudPD backup source scope and Borg access * Record Atlas iCloudPD deployment gate checks * Pin iCloudPD photo file and directory modes * Validate inactive iCloudPD Quadlet on Atlas generator * Keep iCloudPD in Archive and reserve Photobook for Immich * Prepare guarded Aegis iCloudPD retirement * Declare inactive Atlas iCloudPD storage and Quadlet * Retire Aegis iCloudPD from desired state * Clear retired Aegis iCloudPD failed-unit state * Remove completed iCloudPD retirement tasks from Aegis * Record initial Atlas iCloudPD service start * Manage Atlas iCloudPD config from Vault * Fix Atlas iCloudPD traceroute startup and config drift * Use Atlas Vault key for iCloudPD Apple ID * Add HEIC decoding to Fedora desktops * Record completed iCloudPD ingestion and remaining recovery checks
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
---
|
|
- name: Reload Atlas admin user manager
|
|
become_user: "{{ atlas_admin_username }}"
|
|
ansible.builtin.systemd:
|
|
scope: user
|
|
daemon_reload: true
|
|
environment:
|
|
XDG_RUNTIME_DIR: "/run/user/{{ atlas_admin_uid }}"
|
|
DBUS_SESSION_BUS_ADDRESS: "unix:path=/run/user/{{ atlas_admin_uid }}/bus"
|
|
when: not ansible_check_mode
|
|
|
|
- name: Reload SSH service
|
|
ansible.builtin.systemd:
|
|
name: sshd
|
|
state: reloaded
|
|
|
|
- name: Reload NFS exports
|
|
ansible.builtin.command:
|
|
argv:
|
|
- exportfs
|
|
- -ra
|
|
changed_when: true
|
|
when: not ansible_check_mode
|
|
|
|
- name: Restart NFS server
|
|
ansible.builtin.systemd:
|
|
name: nfs-server
|
|
state: restarted
|
|
|
|
- name: Restart NFS mount daemon
|
|
ansible.builtin.systemd:
|
|
name: nfs-mountd
|
|
state: restarted
|
|
daemon_reload: true
|
|
|
|
- name: Restart Samba service
|
|
ansible.builtin.systemd:
|
|
name: smb
|
|
state: restarted
|
|
|
|
- name: Restart Atlas Borg timers
|
|
ansible.builtin.systemd:
|
|
name: "{{ item }}"
|
|
state: restarted
|
|
daemon_reload: true
|
|
loop:
|
|
- atlas-borg-backup.timer
|
|
- atlas-borg-check.timer
|
|
when:
|
|
- atlas_manage_borg_backup | bool
|
|
- not ansible_check_mode
|
|
|
|
- name: Restart Atlas media Quadlets
|
|
ansible.builtin.systemd:
|
|
name: "{{ item }}"
|
|
state: restarted
|
|
daemon_reload: true
|
|
loop: "{{ atlas_media_quadlet_services }}"
|
|
loop_control:
|
|
label: "{{ item }}"
|
|
when:
|
|
- atlas_manage_media_stack | bool
|
|
- not ansible_check_mode
|