minecraft/server/tasks/main.yaml
changeset 174 431c6d5e5dd4
parent 164 ae19501f5251
child 177 11f52d70bca4
--- a/minecraft/server/tasks/main.yaml	Sat Jul 24 22:12:04 2021 -0500
+++ b/minecraft/server/tasks/main.yaml	Sun Jul 25 10:30:51 2021 -0500
@@ -2,7 +2,7 @@
 
 - name: add minecraft user
   become: yes
-  user: name="{{minecraft_user}}" home="{{minecraft_parent_dir}}/minecraft"
+  user: name="{{minecraft_user}}" home="{{minecraft_parent_dir}}/minecraft" shell="/bin/false" system="yes"
 
 - name: install adoptopenjdk
   include_tasks: adoptopenjdk.yaml