mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-29 03:33:28 +01:00
18 lines
377 B
YAML
18 lines
377 B
YAML
---
|
|
- name: install core packages for virtual machines
|
|
hosts: "{{ hosts }}"
|
|
become: yes
|
|
tasks:
|
|
- name: install packages
|
|
apt:
|
|
name:
|
|
- prometheus-node-exporter
|
|
- nfs-common
|
|
- qemu-guest-agent
|
|
update_cache: yes
|
|
- name: start guest qemu-guest-agent
|
|
service:
|
|
name: qemu-guest-agent
|
|
state: started
|
|
enabled: yes
|