Skip to content

Commit

Permalink
fixup string default
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Sep 29, 2023
1 parent 35bbeb0 commit 803b563
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions molecule/identity/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
src: /etc/opt/alfresco/content-services/classpath/alfresco-global.properties
register: slurp_global_properties

- name: Check reindex service contains the expected ExecStart line
- name: Check alfresco-global.properties contains expected identity properties
vars:
global_properties_content: "{{ slurp_global_properties['content'] | b64decode }}"
expected_auth_chain: "authentication.chain=identity-service1:identity-service,alfrescoNtlm1:alfrescoNtlm"
expected_service_resource: "identity-service.resource=alfresco"
expected_service_credentials: "identity-service.credentials.secret="
expected_auth_url: "identity-service.auth-server-url=http://172.17.0.2:8082/"
expected_auth_url_regex: 'identity-service\.auth-server-url=http:\/\/.*\/'
ansible.builtin.assert:
that:
- "expected_auth_chain in global_properties_content"
- "expected_service_resource in global_properties_content"
- "expected_service_credentials in global_properties_content"
- "expected_auth_url in global_properties_content"
- "global_properties_content | regex_search(expected_auth_url_regex)"
msg: "{{ global_properties_content }}"

- name: Fetch realm
Expand Down
2 changes: 1 addition & 1 deletion roles/repository/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ repository_monitored_startup_timeout_seconds: 300
# Identity service arguments
repository_identity_url: ''
repository_identity_client_id: alfresco
repository_identity_client_secret: null
repository_identity_client_secret: ''

0 comments on commit 803b563

Please sign in to comment.