quemu_guest: add role + playbook
This commit is contained in:
parent
ddc0597e2a
commit
93bccaddfd
2 changed files with 18 additions and 0 deletions
7
playbooks/qemu_guest.yml
Executable file
7
playbooks/qemu_guest.yml
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env ansible-playbook
|
||||
---
|
||||
- hosts:
|
||||
- vm_network
|
||||
roles:
|
||||
- qemu_guest
|
||||
...
|
11
roles/qemu_guest/tasks/main.yml
Normal file
11
roles/qemu_guest/tasks/main.yml
Normal 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
|
||||
...
|
Loading…
Reference in a new issue