Initial commit — OpenClaw VM infrastructure

- ansible/: VM provisioning playbooks and roles
  - provision-vm.yml: create KVM VM from Ubuntu cloud image
  - install.yml: install OpenClaw on guest (upstream)
  - customize.yml: swappiness, virtiofs fstab, linger
  - roles/vm/: libvirt domain XML, cloud-init templates
  - inventory.yml + host_vars/zap.yml: zap instance config
- backup-openclaw-vm.sh: daily rsync + MinIO upload
- restore-openclaw-vm.sh: full redeploy from scratch
- README.md: full operational documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
William Valentin
2026-03-12 12:18:31 -07:00
commit aceeb7b542
71 changed files with 7840 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# OpenClaw Ansible Inventory Sample
all:
children:
openclaw_servers:
hosts:
# Example 1: Simple IP address
192.168.1.100:
# Example 2: Hostname with specific variables
my-claw-server:
ansible_host: 192.168.1.101
ansible_user: admin
# Override default variables for this host
openclaw_install_mode: release
# Global variables for all OpenClaw servers
vars:
# SSH Public Keys for the 'openclaw' user (Optional)
# If set, these keys will be added to ~/.ssh/authorized_keys
# openclaw_ssh_keys:
# - "ssh-ed25519 AAAAC3Nz..."
# Tailscale Auth Key (Optional) - Leave empty to skip auto-connect
# tailscale_authkey: "tskey-auth-..."