Commit 144c8ced authored by Peter Nerlich's avatar Peter Nerlich
Browse files

copy world from local copy of the configured address, ignore all errors

parent 8521ca7c
......@@ -35,12 +35,13 @@
- name: Copy local world
ansible.builtin.copy:
src: "/home/peter/.minetest/worlds/kifserver/{{ item }}"
src: "/home/peter/.minetest/worlds/server_{{ server_address }}_{{ server_port }}/{{ item }}"
dest: "/var/lib/minetest/world/{{ item }}"
mode: u=rw,g=r,o=r
owner: minetest
group: minetest
become: true
ignore_errors: true
with_items:
- advtrains_atc
- advtrains_interlocking_influence_points
......@@ -81,11 +82,12 @@
- name: Copy mods stuff and map tiles
ansible.posix.synchronize:
src: "/home/peter/.minetest/worlds/kifserver/{{ item }}"
src: "/home/peter/.minetest/worlds/server_{{ server_address }}_{{ server_port }}/{{ item }}"
dest: "/var/lib/minetest/world/{{ item }}"
recursive: true
checksum: true
become: true
ignore_errors: true
with_items:
- mod_storage
- mapserver.tiles
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment