diff --git a/qemu-guest-agent.yml b/qemu-guest-agent.yml index 4b8e510..2f37749 100644 --- a/qemu-guest-agent.yml +++ b/qemu-guest-agent.yml @@ -1,9 +1,16 @@ -- name: install latest qemu-guest-agent +- name: Install and enable latest qemu-guest-agent hosts: "*" tasks: - - name: install qemu-guest-agent + - name: Install qemu-guest-agent apt: name: qemu-guest-agent state: present update_cache: true - become: true \ No newline at end of file + become: true + + - name: Enable qemu-guest-agent service + systemd: + name: qemu-guest-agent + enabled: yes + state: started + become: true