From c4bfa17c83d8c57d0dad990192dca9e03a2b7c9e Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Fri, 10 Mar 2023 19:21:00 -0600 Subject: [PATCH] docker-tmodloader14 - Create log volume --- roles/docker-tmodloader13/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/docker-tmodloader13/tasks/main.yml b/roles/docker-tmodloader13/tasks/main.yml index c3a829b..d2e4d76 100644 --- a/roles/docker-tmodloader13/tasks/main.yml +++ b/roles/docker-tmodloader13/tasks/main.yml @@ -17,6 +17,7 @@ - "{{ tmodloader_data_prefix }}/data/ModLoader" - "{{ tmodloader_data_prefix }}/data/ModLoader/Mods" - "{{ tmodloader_data_prefix }}/data/ModLoader/Worlds" + - "{{ tmodloader_data_prefix }}/logs" - name: assure mods ansible.builtin.shell: cmd: "curl -L \"{{ tmodloader_mod_server }}\" -o \"{{ item }}.tmod\" && chown \"{{ tmodloader_uid }}:{{ tmodloader_gid }}\" \"{{ item }}.tmod\"" @@ -72,3 +73,4 @@ volumes: - "{{ tmodloader_data_prefix }}/data:/terraria" - "{{ tmodloader_data_prefix }}/config.txt:/terraria/config.txt" + - "{{ tmodloader_data_prefix }}/logs:/terraria-server/tModLoader-Logs"