Files
Ansible/ubuntu/inst-vm-core.yaml
T
JustinandClaude Opus 5.5 8de2386aa1 Ubuntu: streamline nightly update playbook
- Merge proxmox and hardware plays into one play
- Replace serial: 1 with throttle: 1 so an unreachable host no longer aborts the run
- Restart qemu-guest-agent only via handler when the package changes
- Combine cache update, upgrade, autoremove and autoclean into one apt task
- Move net-tools install to inst-vm-core.yaml

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 15:29:43 -06:00

21 lines
459 B
YAML

---
- name: Install core packages for virtual machines
hosts: 192.168.1.15
become: true
tasks:
- name: Install packages
ansible.builtin.apt:
name:
- prometheus-node-exporter
- nfs-common
- qemu-guest-agent
- net-tools
update_cache: true
- name: Start guest qemu-guest-agent
ansible.builtin.service:
name: qemu-guest-agent
state: started
enabled: true