Move proxmox specific tasks to separate playbook

Suggested-by: Stefan Haun <tux@netz39.de>
This commit is contained in:
Alexander Dahl 2022-07-23 20:42:11 +02:00
parent 01c8d9d896
commit 0bebf35471
2 changed files with 11 additions and 9 deletions

View file

@ -35,15 +35,8 @@
include_role: include_role:
name: users name: users
- hosts: proxmox - name: Specific setup for all proxmox hosts
become: true import_playbook: proxmox.yml
tasks:
- name: Ensure qemu guest agent is installed on proxmox VMs
ansible.builtin.apt:
pkg: qemu-guest-agent
state: present
- name: Tau specific setup - name: Tau specific setup
import_playbook: tau.yml import_playbook: tau.yml

9
proxmox.yml Normal file
View file

@ -0,0 +1,9 @@
---
- hosts: proxmox
become: true
tasks:
- name: Ensure qemu guest agent is installed on proxmox VMs
ansible.builtin.apt:
pkg: qemu-guest-agent
state: present