2019-10-05 21:41:25 +00:00
|
|
|
---
|
2019-10-27 23:38:13 +00:00
|
|
|
- name: install guest agent
|
|
|
|
package:
|
|
|
|
name: "{{ vm_guest_qemu_agent_package_name }}"
|
|
|
|
state: "{{ vm_guest_qemu_agent_package_state }}"
|
|
|
|
|
|
|
|
- name: start guest agent
|
|
|
|
service:
|
|
|
|
name: "{{ vm_guest_qemu_agent_service_name }}"
|
|
|
|
state: "{{ vm_guest_qemu_agent_service_state }}"
|
|
|
|
enabled: "{{ vm_guest_qemu_agent_service_enabled }}"
|
|
|
|
|
2019-10-05 21:41:25 +00:00
|
|
|
- name: install SPICE agent
|
|
|
|
package:
|
|
|
|
name: "{{ vm_guest_spice_agent_package_name }}"
|
|
|
|
state: "{{ vm_guest_spice_agent_package_state }}"
|
|
|
|
|
|
|
|
- name: start SPICE agent
|
|
|
|
service:
|
|
|
|
name: "{{ vm_guest_spice_agent_service_name }}"
|
|
|
|
state: "{{ vm_guest_spice_agent_service_state }}"
|
|
|
|
enabled: "{{ vm_guest_spice_agent_service_enabled }}"
|