quemu_guest: add role + playbook

This commit is contained in:
jeltz 2023-09-16 02:30:17 +02:00
parent ddc0597e2a
commit 93bccaddfd
Signed by: jeltz
GPG key ID: 800882B66C0C3326
2 changed files with 18 additions and 0 deletions

7
playbooks/qemu_guest.yml Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env ansible-playbook
---
- hosts:
- vm_network
roles:
- qemu_guest
...

View file

@ -0,0 +1,11 @@
---
- name: Install QEMU guest agent
apt:
name: qemu-guest-agent
- name: Enable QEMU guest agent
systemd:
name: qemu-guest-agent
state: started
enabled: true
...