Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions roles/manage/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
- "/opt/openconext/manage/metadata_templates"
- "/opt/openconext/manage/policies"

- name: Copy Stepup stepup_config.json from inventory
ansible.builtin.copy:
src: "{{ inventory_dir }}/files/manage/stepup_config.json"
dest: "/opt/openconext/manage/stepup_config.json"
owner: "root"
group: "root"
mode: "0644"
notify: restart manageserver

- name: Import the mongo CA file
ansible.builtin.copy:
src: "{{ inventory_dir }}/secrets/mongo/mongoca.pem"
Expand Down Expand Up @@ -114,6 +123,10 @@
- source: /opt/openconext/manage/__cacert_entrypoint.sh
target: /__cacert_entrypoint.sh
type: bind
- source: /opt/openconext/manage/stepup_config.json
target: /stepup_config.json
type: bind

command: "java -jar /app.jar -Xmx512m --spring.config.location=./config/"
etc_hosts:
host.docker.internal: host-gateway
Expand Down
9 changes: 9 additions & 0 deletions roles/manage/templates/application.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,20 @@ push:
user: {{ pdp.username }}
password: "{{ pdp.password }}"
enabled: {{ manage.pdp_push_enabled }}
stepup:
url: https://middleware.{{ base_domain }}
user: {{ manage.middleware_user }}
configuration_file: "file:///stepup_config.json"
password: {{ manage_middleware_password }}
enabled: {{ manage.stepup_push_enabled }}


product:
name: Manage
organization: {{ instance_name }}
service_provider_feed_url: {{ manage_service_provider_feed_url }}
jira_base_url: https://servicedesk.surf.nl/jira/browse/
jira_ticket_prefixes: CXT,SD
supported_languages: {{ supported_language_codes }}
show_oidc_rp: {{ manage_show_oidc_rp_tab }}

Expand Down