Update openclaw role for Margaret Docker deployment

- Updated defaults: custom image, container name, config paths
- Updated compose template: proper CMD, HOME env, user mapping
- Updated tasks: image existence check, warning if not found
- Added handlers: restart on compose changes
- Image must be pre-built on Bart (16GB RAM) and transferred
This commit is contained in:
2026-02-02 21:55:08 -06:00
parent 138d16b6e6
commit c276c2a090
4 changed files with 65 additions and 28 deletions
+6
View File
@@ -0,0 +1,6 @@
---
- name: Restart Margaret
community.docker.docker_compose_v2:
project_src: "{{ openclaw_compose_dir }}"
state: restarted
tags: [openclaw, margaret]