Adding minecraft server infra, so when the server dev work is complete, it's all ready to go

This commit is contained in:
Ubergeek
2019-02-08 15:11:44 +00:00
parent 3386385459
commit f180c12f02
3 changed files with 50 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
---
- name: add group minecraft
group:
name: minecraft
system: yes
state: present
- name: Add the user minecraft
user:
name: minecraft
system: yes
shell: /bin/false
groups: minecraft
create_home: yes
home: /var/lib/minecraft
state: present