ansible/roles/common/tasks/vm.yaml
2024-06-01 23:30:09 +02:00

15 lines
320 B
YAML

---
- name: Install guest agent
apt:
name: qemu-guest-agent
- name: Serial Console
lineinfile:
path: /etc/default/grub
regexp: ^GRUB_CMDLINE_LINUX_DEFAULT
line: 'GRUB_CMDLINE_LINUX_DEFAULT="quiet console=ttyS0,115200n1 console=tty0"'
notify:
- update grub
- reboot
- meta: flush_handlers