From 50a679bfbb4d9bec4677ecdca664f8631ddf522c Mon Sep 17 00:00:00 2001 From: Crivella Date: Thu, 14 Sep 2023 13:14:47 +0200 Subject: [PATCH 1/2] Made logo file customizable --- defaults/main.yml | 1 + tasks/jupyterhub.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 2883a52..4259000 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,4 +1,5 @@ --- +aiidalab_logo_file: aiidalab_wide.png aiidalab_apache_config: apache.conf aiidalab_server_config: jupyterhub_config.py aiidalab_server_mem_limit: 4G # memory limit per user diff --git a/tasks/jupyterhub.yml b/tasks/jupyterhub.yml index a106f11..1699afe 100644 --- a/tasks/jupyterhub.yml +++ b/tasks/jupyterhub.yml @@ -34,7 +34,7 @@ - name: copy aiidalab logo copy: - src: aiidalab_wide.png + src: "{{ aiidalab_apache_config }}" dest: /etc/jupyterhub/ owner: root group: root From d4685e8c8aed4c27e266f72b8c23f7767954fb80 Mon Sep 17 00:00:00 2001 From: Crivella Date: Mon, 25 Sep 2023 16:55:55 +0200 Subject: [PATCH 2/2] Fix variable --- tasks/jupyterhub.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/jupyterhub.yml b/tasks/jupyterhub.yml index 1699afe..4d58512 100644 --- a/tasks/jupyterhub.yml +++ b/tasks/jupyterhub.yml @@ -34,7 +34,7 @@ - name: copy aiidalab logo copy: - src: "{{ aiidalab_apache_config }}" + src: "{{ aiidalab_logo_file }}" dest: /etc/jupyterhub/ owner: root group: root