The Mac powers back on after a power cut but stopped at the login window, so nothing that needs a login session (dashboard, Podman VM for Hermes's sandbox, BlueBubbles, Beeper) came back. Turn on automatic login with sysadminctl, using phil's password from the vault. FileVault is off, so it works unattended. User accepted the physical-access trade-off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
# Homebrew refuses to run as root, so none of these use become.
|
|
- name: Homebrew taps
|
|
community.general.homebrew_tap:
|
|
name: "{{ homebrew_taps }}"
|
|
tags: homebrew
|
|
|
|
- name: Homebrew formulae
|
|
community.general.homebrew:
|
|
name: "{{ homebrew_formulae }}"
|
|
state: present
|
|
tags: homebrew
|
|
|
|
- name: Homebrew casks
|
|
community.general.homebrew_cask:
|
|
name: "{{ homebrew_casks }}"
|
|
state: present
|
|
tags: homebrew
|
|
|
|
- name: SSH key
|
|
ansible.posix.authorized_key:
|
|
user: "{{ ansible_user }}"
|
|
key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_ed25519.pub') }}"
|
|
tags: ssh
|
|
|
|
- name: Power settings
|
|
ansible.builtin.import_tasks: power.yml
|
|
tags: power
|
|
|
|
- name: Firewall
|
|
ansible.builtin.import_tasks: firewall.yml
|
|
tags: firewall
|
|
|
|
- name: Hermes dashboard
|
|
ansible.builtin.import_tasks: hermes-dashboard.yml
|
|
tags: hermes-dashboard
|
|
|
|
- name: Hermes settings
|
|
ansible.builtin.import_tasks: hermes-settings.yml
|
|
tags: hermes-settings
|
|
|
|
- name: Hermes cron jobs
|
|
ansible.builtin.import_tasks: hermes-cron.yml
|
|
tags: hermes-cron
|
|
|
|
- name: Podman VM
|
|
ansible.builtin.import_tasks: podman.yml
|
|
tags: podman
|
|
|
|
- name: Automatic login
|
|
ansible.builtin.import_tasks: autologin.yml
|
|
tags: autologin
|