From 2147878061376a8052c375a01569da661f3daa4f Mon Sep 17 00:00:00 2001 From: Laur Ivan Date: Fri, 9 Dec 2022 23:22:42 +0100 Subject: [PATCH] fix: Create volumes. --- defaults/main.yml | 3 +-- tasks/main.yml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 495f77c..71b0c1b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,8 +4,6 @@ outline_secret_key: 'changeme' outline_utils_secret: 'changeme' - -outline_setup_path: '~/outline' outline_deployment: '' outline_port: 3000 @@ -17,6 +15,7 @@ outline_cdn_url: outline_debug: "cache,presenters,events,emails,mailer,utils,multiplayer,server,services" outline_volume_base: "/mnt/outline" +outline_setup_path: '{{ outline_volume_base }}/config' outline_volume_redis: "{{ outline_volume_base }}/redis" outline_volume_db: "{{ outline_volume_base }}/db" outline_volume_s3: "{{ outline_volume_base }}/s3" diff --git a/tasks/main.yml b/tasks/main.yml index c265f30..5d7a0ed 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -22,6 +22,9 @@ mode: "0750" with_items: - "{{ outline_setup_path }}" + - "{{ outline_volume_redis }}" + - "{{ outline_volume_db }}" + - "{{ outline_volume_s3 }}" tags: - configuration