Mac: power settings, firewall, SSH key

- pmset: never sleep, no disk sleep, restart after a power cut, wake on
  network. The Mac had sleep 1 and only stayed up because BlueBubbles runs
  caffeinate.
- Application firewall on, keeping signed software allowed automatically,
  stealth and block-all off. Hermes's ad hoc signed Python (dashboard on
  9119) is allowed explicitly, since an unattended Mac blocks unsigned
  programs silently.
- Local id_ed25519.pub in phil's authorized_keys (already there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-11 06:20:43 -07:00
1 parent f53992d652
commit fe268bd171
6 files changed
+102 -2

No files matched your search

+14
View File
@@ -15,3 +15,17 @@
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