Verify ownership of MC world after restore

This commit is contained in:
Salt 2020-06-26 20:27:46 -05:00
parent cf8d063f56
commit 04a538d274

View File

@ -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: