Move proxmox specific tasks to separate playbook
Suggested-by: Stefan Haun <tux@netz39.de>
This commit is contained in:
parent
01c8d9d896
commit
0bebf35471
2 changed files with 11 additions and 9 deletions
11
main.yml
11
main.yml
|
@ -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
9
proxmox.yml
Normal 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
|
Loading…
Reference in a new issue