From 0fe72239cc66bbbad48082ec32b5a4ce21d516ae Mon Sep 17 00:00:00 2001 From: Bart Geesink Date: Fri, 1 Mar 2024 20:39:42 +0100 Subject: [PATCH] Stepup dockers: Fix logo location --- roles/stepupazuremfa/tasks/docker.yml | 10 ++++------ roles/stepupselfservice/tasks/docker.yml | 2 +- roles/stepuptiqr/tasks/docker.yml | 2 +- roles/stepupwebauthn/tasks/docker.yml | 9 ++++----- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/roles/stepupazuremfa/tasks/docker.yml b/roles/stepupazuremfa/tasks/docker.yml index 21ffa05a2..a7935e775 100644 --- a/roles/stepupazuremfa/tasks/docker.yml +++ b/roles/stepupazuremfa/tasks/docker.yml @@ -43,8 +43,7 @@ mode: "0640" owner: root group: "{{ appname }}" - notify: - restart azuremfa + notify: restart azuremfa - name: Put institutions.yaml from environment ansible.builtin.template: @@ -53,8 +52,7 @@ mode: "0640" owner: root group: "{{ appname }}" - notify: - restart azuremfa + notify: restart azuremfa - name: Create the container community.docker.docker_container: @@ -72,8 +70,8 @@ APACHE_UID: "#{{ azuremfa_uid.uid }}" APACHE_GUID: "#{{ azuremfa_guid.gid }}" mounts: - - source: /opt/openconext/azuremfa/public/images/ - target: /var/www/html/public/images/ + - source: /opt/openconext/azuremfa/public/images/header-logo.png + target: /var/www/html/public/build/images/header-logo.png type: bind - source: /opt/openconext/azuremfa target: /var/www/html/config/openconext diff --git a/roles/stepupselfservice/tasks/docker.yml b/roles/stepupselfservice/tasks/docker.yml index 4f08e634c..4151d24cf 100644 --- a/roles/stepupselfservice/tasks/docker.yml +++ b/roles/stepupselfservice/tasks/docker.yml @@ -74,7 +74,7 @@ APP_ENV: prod mounts: - source: /opt/openconext/selfservice/public/images/header-logo.png - target: /var/www/html/public/images/header-logo.png + target: /var/www/html/public/build/images/logo/header-logo.png type: bind - source: /opt/openconext/selfservice target: /var/www/html/config/openconext diff --git a/roles/stepuptiqr/tasks/docker.yml b/roles/stepuptiqr/tasks/docker.yml index 9b2175275..032a0adf5 100644 --- a/roles/stepuptiqr/tasks/docker.yml +++ b/roles/stepuptiqr/tasks/docker.yml @@ -72,7 +72,7 @@ APP_ENV: prod mounts: - source: /opt/openconext/tiqr/public/images/header-logo.png - target: /var/www/html/public/images/header-logo.png + target: /var/www/html/public/build/images/logo/header-logo.png type: bind - source: /opt/openconext/tiqr target: /var/www/html/config/openconext diff --git a/roles/stepupwebauthn/tasks/docker.yml b/roles/stepupwebauthn/tasks/docker.yml index 7171e5121..867176165 100644 --- a/roles/stepupwebauthn/tasks/docker.yml +++ b/roles/stepupwebauthn/tasks/docker.yml @@ -1,4 +1,4 @@ -- name: Include docker vars +- name: Include docker vars ansible.builtin.include_vars: docker.yml - name: Add group {{ appname }} @@ -52,8 +52,7 @@ mode: "0640" owner: root group: "{{ appname }}" - notify: - restart webauthn + notify: restart webauthn - name: Copy trusted certificates ansible.builtin.copy: @@ -89,8 +88,8 @@ APACHE_UID: "#{{ webauthn_uid.uid }}" APACHE_GUID: "#{{ webauthn_guid.gid }}" mounts: - - source: /opt/openconext/webauthn/public/images/ - target: /var/www/html/public/images/ + - source: /opt/openconext/webauthn/public/images/header-logo.png + target: /var/www/html/public/build/images/logo/header-logo.png type: bind - source: /opt/openconext/webauthn target: /var/www/html/config/openconext