Skip to content

Commit

Permalink
Configure SSO in repository
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Sep 22, 2023
1 parent 010eef1 commit 79321ba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/repository/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,17 @@
path: "{{ content_folder }}/web-server/conf"
state: absent

- name: Configure identity service when available
when: groups.identity | default([]) # FIXME and external?
vars:
sso_repository_properties:
authentication.chain: identity-service1:identity-service,alfrescoNtlm1:alfrescoNtlm
identity-service.auth-server-url: "http://{{ identity_host }}:8080/auth" # FIXME
identity-service.resource: "{{ identity_client_id }}"
identity-service.credentials.secret: "{{ identity_client_secret }}" # required only if client is not set to public
ansible.builtin.set_fact:
repository_properties: "{{ repository_properties | ansible.builtin.combine(sso_repository_properties) }}"

- name: Create alfresco-global.properties main snippet
vars:
merged_repository_properties: >-
Expand Down

0 comments on commit 79321ba

Please sign in to comment.