From b30c9832a74ab97299b308c477dfb25a8ab98512 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 29 Oct 2021 11:00:07 +0200 Subject: [PATCH] Update to 2021-10-29 11:00 --- roles/bookstack/defaults/main.yml | 4 ++-- roles/diagrams/defaults/main.yml | 4 ++-- roles/n8n/tasks/directories.yml | 3 +++ roles/n8n/templates/env.j2 | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/roles/bookstack/defaults/main.yml b/roles/bookstack/defaults/main.yml index 9bec490..e26d08d 100644 --- a/roles/bookstack/defaults/main.yml +++ b/roles/bookstack/defaults/main.yml @@ -1,11 +1,11 @@ --- # Version to deploy -bookstack_version: '21.10.1' +bookstack_version: '21.10.2' # URL of the arhive bookstack_archive_url: https://github.com/BookStackApp/BookStack/archive/v{{ bookstack_version }}.tar.gz # Expected sha1 of the archive -bookstack_archive_sha1: 8614ddf71205bcf007cc28396eae1b7d9138dda2 +bookstack_archive_sha1: 007481362a0e904c43d015cf16dc9eb40c52c5e0 # Should ansible handle bookstack upgrades or just the inintial install bookstack_manage_upgrade: True diff --git a/roles/diagrams/defaults/main.yml b/roles/diagrams/defaults/main.yml index f26cf85..3522029 100644 --- a/roles/diagrams/defaults/main.yml +++ b/roles/diagrams/defaults/main.yml @@ -1,11 +1,11 @@ --- # Veresion of diagrams to deploy -diagrams_version: 15.6.0 +diagrams_version: 15.6.2 # URL of the WAR file to deploy diagrams_war_url: https://github.com/jgraph/drawio/releases/download/v{{ diagrams_version }}/draw.war # Expected sha1 of the WAR file -diagrams_war_sha1: 3fc65c6908a46eb38937a50a6cdb7371eef501ed +diagrams_war_sha1: ac2f203855dce30f01418ded6131f948e8d72206 # root directory of the installation diagrams_root_dir: /opt/diagrams # Should ansible manage upgrades, or just initial install ? diff --git a/roles/n8n/tasks/directories.yml b/roles/n8n/tasks/directories.yml index 27f14e3..33681e2 100644 --- a/roles/n8n/tasks/directories.yml +++ b/roles/n8n/tasks/directories.yml @@ -11,6 +11,9 @@ - dir: "{{ n8n_root_dir }}/data" owner: "{{ n8n_user }}" mode: 700 + - dir: "{{ n8n_root_dir }}/.n8n/custom" + owner: "{{ n8n_user }}" + mode: 700 - dir: "{{ n8n_root_dir }}/etc" group: "{{ n8n_user }}" mode: 750 diff --git a/roles/n8n/templates/env.j2 b/roles/n8n/templates/env.j2 index 5465e24..c26bede 100644 --- a/roles/n8n/templates/env.j2 +++ b/roles/n8n/templates/env.j2 @@ -5,6 +5,7 @@ VUE_APP_URL_BASE_API={{ n8n_public_url }} N8N_ENCRYPTION_KEY={{ n8n_secret_key | quote }} EXECUTIONS_DATA_PRUNE=true EXECUTIONS_DATA_MAX_AGE={{ n8n_data_max_age }} +N8N_CUSTOM_EXTENSIONS={{ n8n_root_dir }}/.n8n/custom {% for env in n8n_env_var.keys() | list %} {{ env }}={{ n8n_env_var[env] }} {% endfor %}