homeserver/roles/mgrote_qemu_guest_agent/tasks/main.yml
Michael Grote d6bb2cfae4 fix update_cache (#632)
Reviewed-on: #632
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-12-19 11:11:38 +01:00

10 lines
238 B
YAML

---
- name: update apt cache and ensure packages are installed
become: true
ansible.builtin.package:
update_cache: true
name: qemu-guest-agent
state: present
when: ansible_virtualization_role == 'guest'
notify: reboot