Verify ownership of MC world after restore
This commit is contained in:
parent
cf8d063f56
commit
04a538d274
@ -144,6 +144,14 @@
|
||||
- bash
|
||||
- "./recover.sh"
|
||||
notify: "restart minecraft {{ mcname }}"
|
||||
become: yes
|
||||
become_user: root
|
||||
- name: Change permissions of world
|
||||
file:
|
||||
path: "/var/minecraft/{{ mcname }}/world"
|
||||
state: directory
|
||||
owner: minecraft
|
||||
group: mc-admin
|
||||
when: not stat_mcroot_world.stat.exists
|
||||
- name: Configure server
|
||||
block:
|
||||
|
Loading…
Reference in New Issue
Block a user