mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 13:40:17 +00:00
Adding minecraft server infra, so when the server dev work is complete, it's all ready to go
This commit is contained in:
16
roles/shell/tasks/users/minecraft.yml
Normal file
16
roles/shell/tasks/users/minecraft.yml
Normal 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
|
||||
Reference in New Issue
Block a user