Ansible ins Repo migrieren und zentrale SSH-Keys in shared/ssh.
Playbooks liegen unter pve1/ansible und pve2/ansible; authorized_keys als Fragmente mit Deploy-Skript und Ziel-Matrix für Proxmox, VM 101 und CTs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Weekly disk maintenance — runs Ansible playbook from Proxmox host
|
||||
set -euo pipefail
|
||||
export ANSIBLE_CONFIG=/root/ansible/ansible.cfg
|
||||
LOG=/var/log/pve-lxc-disk-maintenance.log
|
||||
exec >>"$LOG" 2>&1
|
||||
echo "=== $(date -Is) disk maintenance start ==="
|
||||
ansible-playbook /root/ansible/playbooks/disk-maintenance.yml
|
||||
echo "=== $(date -Is) disk maintenance done ==="
|
||||
Reference in New Issue
Block a user