Add minecraft host group

This commit is contained in:
Timo Makinen 2022-03-07 23:43:23 +00:00
parent 7b9f2a2dfc
commit 48398702dd
4 changed files with 46 additions and 0 deletions

22
playbooks/minecraft.yml Normal file
View file

@ -0,0 +1,22 @@
---
- import_playbook: "include/deploy-kvm-guest.yml myhosts=minecraft"
- name: configure instance
hosts: minecraft
user: root
gather_facts: true
pre_tasks:
- name: mount /export
mount:
name: /export
src: LABEL=/export
fstype: xfs
opts: noatime
passno: "0"
dump: "0"
state: mounted
roles:
- base
- minecraft