homeserver/roles/mgrote.qemu_guest_agent/tasks/main.yml
mg a3a5cdd1a0 update vor guest-agent (#179)
update vor guest-agent

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#179
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-07-29 08:47:56 +02:00

13 lines
289 B
YAML

---
- name: update apt cache
become: yes
ansible.builtin.apt:
update_cache: yes
- name: install packages
become: yes
ansible.builtin.package:
name: qemu-guest-agent
state: present
when: ansible_virtualization_role == 'guest'
notify: reboot