kovalhome/infra/cloud/0001_initialise_playbook.yaml

19 lines
465 B
YAML
Raw Normal View History

2023-09-25 20:48:29 +00:00
- name: Initialise VM
hosts: cloud
gather_facts: false
tasks:
- name: Wait for connection
ansible.builtin.wait_for_connection:
timeout: 300
- name: Install system packages
ansible.builtin.apt:
package: qemu-guest-agent
state: latest
become: true
- name: Enable qemu-guest-agent
ansible.builtin.systemd:
name: qemu-guest-agent
state: started
enabled: true
become: true