Commit Graph

7 Commits

Author SHA1 Message Date
Semaphore
ca0f11b1c9 Fix snapshot role — XO REST API, fix playbook host targeting
- roles/snapshot/tasks/main.yml: replace xe CLI with XO REST API
  - POST /rest/v0/vms/<uuid>/actions/snapshot?sync=true
  - stores returned snapshot UUID as snapshot_id
  - baremetal: skips gracefully with warning
- playbooks/snapshot_pre.yml: target linux_hosts only (was all)
- playbooks/linux_patch.yml: remove snapshot + report roles (snapshot is separate step)
- playbooks/site_maintenance.yml: remove bootstrap play (handled per-playbook),
  remove windows_patch import (WinRM not implemented)
2026-03-12 21:44:20 -07:00
Semaphore
de36867075 Fix XCP-NG delegate_to — use inline conditional to avoid empty hostname error 2026-03-11 12:00:33 -07:00
Semaphore
bd1b99f47d Fix XCP-NG tasks — skip when xcpng_host is empty, default delegate_to localhost 2026-03-11 11:56:55 -07:00
Semaphore
7368701e85 Fix YAML quote conflict in snapshot role — single quotes inside Jinja2 split filter 2026-03-11 11:33:37 -07:00
Semaphore
a88354149d Add proxmox_vmid 110 to alpine-caddy inventory 2026-03-11 11:31:23 -07:00
Semaphore
379fc49331 Add snapshot role — Proxmox and XCP-NG pre-patch snapshot with verification 2026-03-10 14:22:38 -07:00
Semaphore
1ae6576dab Initial repo structure — playbook skeletons, roles, client template inventory 2026-03-10 14:03:29 -07:00