Skip to content

Commit

Permalink
DIYIDP: Make the role compatible with the new mariadb docker
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Nov 14, 2024
1 parent 986646e commit 9b1ccfe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions roles/diyidp/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ diyidp_remotesp:
- name: "{{ instance_name }} SP metadata"
metadataurl: "https://engine.{{ base_domain }}/authentication/sp/metadata"
acslocation: "https://engine.{{ base_domain }}/authentication/sp/consume-assertion"
diyidp_docker_networks:
- name: "loadbalancer"
3 changes: 1 addition & 2 deletions roles/diyidp/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
pull: true
restart_policy: "always"
state: started
networks:
- name: "loadbalancer"
networks: "{{ diyidp_docker_networks }}"
labels:
traefik.http.routers.diyidp.rule: "Host(`{{ diyidp_domain }}`)"
traefik.http.routers.diyidp.tls: "true"
Expand Down
4 changes: 2 additions & 2 deletions roles/diyidp/templates/config-override.php.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
$config['certdir'] = 'config/cert/';
$config['metadatadir'] = 'config/metadata/';
$config['auth.adminpassword'] = '{{ diyidp.admin_password }}';
$config['baseurlpath'] = 'https://diyidp.{{ base_domain }}/';
$config['theme.use'] = '{{ diyidp.theme |default("default") }}';
$config['baseurlpath'] = 'https://{{ diyidp_domain }}/';
$config['theme.use'] = '{{ diyidp_theme |default("default") }}';
2 changes: 1 addition & 1 deletion roles/diyidp/templates/saml20-idp-hosted.php.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* See: https://rnd.feide.no/content/idp-hosted-metadata-reference
*/

$metadata['https://diyidp.{{ base_domain}}'] = array(
$metadata['https://{{ diyidp_domain}}'] = array(
/*
* The hostname of the server (VHOST) that will use this SAML entity.
*
Expand Down

0 comments on commit 9b1ccfe

Please sign in to comment.