From 6a0924c72c16de2a6ec5355720bd807ecd71051b Mon Sep 17 00:00:00 2001 From: Johanna Dorothea Reichmann Date: Thu, 25 Aug 2022 07:40:42 +0200 Subject: [PATCH] chore(gotosocial): fix container mounts --- roles/gotosocial/defaults/main.yml | 3 ++- roles/gotosocial/tasks/main.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/gotosocial/defaults/main.yml b/roles/gotosocial/defaults/main.yml index d97be5f..6a63eda 100644 --- a/roles/gotosocial/defaults/main.yml +++ b/roles/gotosocial/defaults/main.yml @@ -1,7 +1,7 @@ --- gotosocial_user: "gotosocial" -gotosocial_version: 0.3.6 +gotosocial_version: 0.3.8 gotosocial_base_path: "/opt/gotosocial" gotosocial_config_path: "{{ gotosocial_base_path }}/config" gotosocial_template_path: "{{ gotosocial_base_path }}/templates" @@ -111,6 +111,7 @@ gotosocial_container_volumes: >-2 gotosocial_container_default_volumes: - "{{ gotosocial_config_file }}:/gotosocial/config.yaml:ro" - "{{ gotosocial_storage_path }}:/gotosocial/storage:z" + - "{{ gotosocial_template_path }}:/gotosocial/web/templates:ro" gotosocial_container_extra_volumes: [] gotosocial_container_env: {} diff --git a/roles/gotosocial/tasks/main.yml b/roles/gotosocial/tasks/main.yml index edfe22f..f630efa 100644 --- a/roles/gotosocial/tasks/main.yml +++ b/roles/gotosocial/tasks/main.yml @@ -20,6 +20,8 @@ - name: "{{ gotosocial_base_path }}" - name: "{{ gotosocial_config_path }}" - name: "{{ gotosocial_storage_path }}" + - name: "{{ gotosocial_template_path }}" + - name: "{{ gotosocial_asset_path }}" mode: '0770' loop_control: loop_var: path