diff --git a/roles/server/minecraft/meta/main.yml b/roles/server/minecraft/meta/main.yml index 29da736..2550f10 100644 --- a/roles/server/minecraft/meta/main.yml +++ b/roles/server/minecraft/meta/main.yml @@ -7,3 +7,11 @@ dependencies: - role: misc/system_user # system_user # user_directory + - role: misc/backup_files + # domain + backup_directory: "{{ data_directory }}" + before_backup_command: | + {{ remote_control_script | quote }} "save-off"; + {{ remote_control_script | quote }} "save-all"; + after_backup_command: | + {{ remote_control_script | quote }} "save-on";