feat: add zeroclaw ansible role #2

Open
openclaw wants to merge 2 commits from openclaw/myserver-configuration:feat/zeroclaw-role into main
First-time contributor

ZeroClaw - Role Ansible

Ajoute un role Ansible pour deployer ZeroClaw via Docker Compose.

ZeroClaw est une infrastructure d'assistant IA personnel self-hosted, 100% Rust (<5MB RAM, <10ms startup). Alternative a OpenClaw, 28.6k etoiles.

https://github.com/zeroclaw-labs/zeroclaw


Ce que fait ce role

  • Cree le repertoire de deploiement et les volumes persistants dans {{ server.work_dir }}/zeroclaw/
    • .zeroclaw/ — config, credentials, memoire de l'agent
    • workspace/ — fichiers de travail de l'agent
  • Deploie le container depuis ghcr.io/zeroclaw-labs/zeroclaw:latest
  • Configure Traefik pour exposer le dashboard sur zeroclaw.<domain>

Structure ajoutee

roles/zeroclaw/
├── tasks/
│   ├── main.yml
│   └── base.yml
└── templates/
    └── docker-compose.yml

Activation

Le role est ajoute en commentaire dans playbook.yml (opt-in) :

#    - { role: zeroclaw, tags: ["zeroclaw"] }

Pour activer :

ansible-playbook playbook.yml --tags zeroclaw

Points a discuter / TODO

  • Onboarding initial : zeroclaw onboard (API key, provider, canaux Telegram etc.) — a lancer manuellement dans le container la 1ere fois
  • Sous-domaine : zeroclaw.<domain> a confirmer
  • Auth Traefik : basicauth ou forward-auth devant le dashboard ?
## ZeroClaw - Role Ansible Ajoute un role Ansible pour deployer ZeroClaw via Docker Compose. ZeroClaw est une infrastructure d'assistant IA personnel self-hosted, 100% Rust (<5MB RAM, <10ms startup). Alternative a OpenClaw, 28.6k etoiles. https://github.com/zeroclaw-labs/zeroclaw --- ### Ce que fait ce role - Cree le repertoire de deploiement et les volumes persistants dans `{{ server.work_dir }}/zeroclaw/` - `.zeroclaw/` — config, credentials, memoire de l'agent - `workspace/` — fichiers de travail de l'agent - Deploie le container depuis `ghcr.io/zeroclaw-labs/zeroclaw:latest` - Configure Traefik pour exposer le dashboard sur `zeroclaw.<domain>` ### Structure ajoutee ``` roles/zeroclaw/ ├── tasks/ │ ├── main.yml │ └── base.yml └── templates/ └── docker-compose.yml ``` ### Activation Le role est ajoute **en commentaire** dans `playbook.yml` (opt-in) : ```yaml # - { role: zeroclaw, tags: ["zeroclaw"] } ``` Pour activer : ```bash ansible-playbook playbook.yml --tags zeroclaw ``` ### Points a discuter / TODO - [ ] **Onboarding initial** : `zeroclaw onboard` (API key, provider, canaux Telegram etc.) — a lancer manuellement dans le container la 1ere fois - [ ] **Sous-domaine** : `zeroclaw.<domain>` a confirmer - [ ] **Auth Traefik** : basicauth ou forward-auth devant le dashboard ?
Ajoute un role Ansible pour déployer ZeroClaw via Docker Compose.

ZeroClaw est une infrastructure d'assistant IA personnel self-hosted,
100% Rust, ultra-légère (<5MB RAM, <10ms startup).

Ce role :
- Crée le répertoire de déploiement et les volumes persistants
- Déploie le container depuis ghcr.io/zeroclaw-labs/zeroclaw:latest
- Configure Traefik pour exposer le dashboard sur zeroclaw.<domain>
- Persiste la config et le workspace dans {{ server.work_dir }}/zeroclaw/

Le role est ajouté en commentaire dans playbook.yml (opt-in).

Ref: https://github.com/zeroclaw-labs/zeroclaw

@openclaw Okay pour le domaine zeroclaw.

Regarde ce que j'ai fais sur traefik pour mettre la même restriction d'IP.

@openclaw Okay pour le domaine zeroclaw.<domain> Regarde ce que j'ai fais sur traefik pour mettre la même restriction d'IP.
Applique la meme restriction IP que Traefik et les autres services
internes (subnet VPN + IP serveur + whitelist extra_ips_whitelist).
Author
First-time contributor

@florian.richer Pris en compte — ajout du middleware private-network@file sur le router zeroclaw, identique a ce que tu as sur traefik et les autres services internes.

Commit : 530a861

@florian.richer Pris en compte — ajout du middleware `private-network@file` sur le router zeroclaw, identique a ce que tu as sur traefik et les autres services internes. Commit : 530a861
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feat/zeroclaw-role:openclaw-feat/zeroclaw-role
git switch openclaw-feat/zeroclaw-role

Merge

Merge the changes and update on Forgejo.
git switch main
git merge --no-ff openclaw-feat/zeroclaw-role
git switch openclaw-feat/zeroclaw-role
git rebase main
git switch main
git merge --ff-only openclaw-feat/zeroclaw-role
git switch openclaw-feat/zeroclaw-role
git rebase main
git switch main
git merge --no-ff openclaw-feat/zeroclaw-role
git switch main
git merge --squash openclaw-feat/zeroclaw-role
git switch main
git merge --ff-only openclaw-feat/zeroclaw-role
git switch main
git merge openclaw-feat/zeroclaw-role
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
florian.richer/myserver-configuration!2
No description provided.