From 0f109cac2521f116815f108bcd2e4f44d78d0b7b Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 8 Aug 2024 08:56:47 +0300 Subject: [PATCH] Configure maintenance_window_start to suppress Nextcloud warning --- defaults/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index d9b3eb9..1a678e6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -312,6 +312,10 @@ nextcloud_database_name: nextcloud nextcloud_database_username: '' nextcloud_database_password: '' +# Controls the maintenance_window_start configuration parameter. +# See: https://docs.nextcloud.com/server/29/admin_manual/configuration_server/background_jobs_configuration.html +nextcloud_config_parameter_maintenance_window_start: 1 + # A list of configuration parameters for Nextcloud. # To define your own, we advise editing `nextcloud_config_additional_parameters`. nextcloud_config_parameters: "{{ nextcloud_config_default_parameters + nextcloud_config_additional_parameters }}" @@ -347,6 +351,11 @@ nextcloud_config_default_parameters: | 'value': false, 'type': 'boolean', }, + { + 'key': 'maintenance_window_start', + 'value': nextcloud_config_parameter_maintenance_window_start, + 'type': 'integer', + }, ]) + ([