Add minecraft host group
This commit is contained in:
parent
7b9f2a2dfc
commit
48398702dd
4 changed files with 46 additions and 0 deletions
22
playbooks/minecraft.yml
Normal file
22
playbooks/minecraft.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue