- 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>
26 lines
748 B
YAML
26 lines
748 B
YAML
# 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-..."
|