From 0a519d869b3526d07e6f424fd8821ff57c494862 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst Date: Wed, 10 Jan 2024 16:30:03 +0100 Subject: [PATCH] manage: Make metadata refresh cron schedule configurable --- roles/manage-server/defaults/main.yml | 1 + roles/manage-server/templates/application.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/manage-server/defaults/main.yml b/roles/manage-server/defaults/main.yml index 577953c3e..9fa5a0e80 100644 --- a/roles/manage-server/defaults/main.yml +++ b/roles/manage-server/defaults/main.yml @@ -10,6 +10,7 @@ manage_service_provider_feed_url: "http://mds.edugain.org/edugain-v2.xml" manage_exclude_edugain_imports_in_push: true manage_show_oidc_rp_tab: false manage_exclude_oidc_rp_imports_in_push: false +manage_metadata_refresh_cron_schedule: "-" manage_manage_provision_samlsp_client_id: "https://manage.{{ base_domain }}/shibboleth" manage_manage_provision_samlsp_name_en: "{{ instance_name }} Manage" manage_manage_provision_samlsp_description_en: "{{ instance_name }} Manage" diff --git a/roles/manage-server/templates/application.yml.j2 b/roles/manage-server/templates/application.yml.j2 index fd26c153e..94c1f73f7 100644 --- a/roles/manage-server/templates/application.yml.j2 +++ b/roles/manage-server/templates/application.yml.j2 @@ -78,7 +78,7 @@ gui: metadata_import: auto_refresh: - cronSchedule: "-" + cronSchedule: "{{ manage_metadata_refresh_cron_schedule }}" # Is this node in a load-balanced topology responsible for cleaning up resources cron: