Files
ansible/roles/mac/tasks/podman.yml
T
PhilandClaude Opus 5.5 a92d4c199c Mac: Hermes quick fixes from the setup review
Via hermes_settings (now compared structurally, with null = unset, and a
gateway restart on change):
- timezone America/Denver (was unset)
- auth.adopt_external_logins false: never borrow Claude Code's login
- terminal.cwd unset: stops the /workspace warnings (#140527)
- agent.disabled_toolsets [kanban]: unused, 25 KB of tool schema per call
- skills.write_approval true
- approvals.deny: force-push, curl|sh, dd to devices (docs' examples)
- streaming.enabled true, stt.local.model small
- terminal.container_memory 3072, inside a 4 GB Podman VM (was 2 GB VM
  with a 5 GB container limit), set by a new podman task

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:17:54 -07:00

17 lines
647 B
YAML

# Memory for the Podman VM that runs Hermes's sandbox. Changing it means a
# stop/start, which ends any sandbox containers that are running.
- name: Read Podman VM memory
ansible.builtin.command:
argv: [/opt/podman/bin/podman, machine, inspect, --format, !unsafe "{{.Resources.Memory}}"]
register: podman_memory
changed_when: false
check_mode: false
- name: Resize the Podman VM
ansible.builtin.shell: |
set -e
/opt/podman/bin/podman machine stop
/opt/podman/bin/podman machine set --memory {{ podman_machine_memory }}
/opt/podman/bin/podman machine start
when: podman_memory.stdout | int != podman_machine_memory