From fe23d21be3c9fa7547553c1e6adb51603ad72f16 Mon Sep 17 00:00:00 2001 From: Mahendra Paipuri Date: Thu, 4 Apr 2024 15:18:19 +0200 Subject: [PATCH] Fix variable name Signed-off-by: Mahendra Paipuri --- roles/ceems_api_server/meta/argument_specs.yml | 2 +- roles/ceems_api_server/molecule/alternative/molecule.yml | 2 +- roles/ceems_api_server/tasks/configure.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/ceems_api_server/meta/argument_specs.yml b/roles/ceems_api_server/meta/argument_specs.yml index 913da7a..9cede9f 100644 --- a/roles/ceems_api_server/meta/argument_specs.yml +++ b/roles/ceems_api_server/meta/argument_specs.yml @@ -110,7 +110,7 @@ argument_specs: - I(Advanced) - Environment variables will be passed to CEEMS API server type: dict - ceems_api_server_extra_config: + ceems_api_server_extra_configs: description: - I(Advanced) - Extra configuration files for CEEMS API server. These files will be created in CEEMS API server config dir with the same name as key of the argument dict. diff --git a/roles/ceems_api_server/molecule/alternative/molecule.yml b/roles/ceems_api_server/molecule/alternative/molecule.yml index 3ff136d..abe77af 100644 --- a/roles/ceems_api_server/molecule/alternative/molecule.yml +++ b/roles/ceems_api_server/molecule/alternative/molecule.yml @@ -21,7 +21,7 @@ provisioner: - --web.max.query.period=30d ceems_api_server_env_vars: foo: bar - ceems_api_server_extra_config_files: + ceems_api_server_extra_configs: tsdb_config: web_url: http://localhost:9090 queries: {} diff --git a/roles/ceems_api_server/tasks/configure.yml b/roles/ceems_api_server/tasks/configure.yml index 5d3601b..20989ce 100644 --- a/roles/ceems_api_server/tasks/configure.yml +++ b/roles/ceems_api_server/tasks/configure.yml @@ -47,8 +47,8 @@ --- {{ item.value | to_nice_yaml }} - when: ceems_api_server_extra_config_files | length > 0 - loop: "{{ ceems_api_server_extra_config_files | dict2items }}" + when: ceems_api_server_extra_configs | length > 0 + loop: "{{ ceems_api_server_extra_configs | dict2items }}" notify: restart ceems_api_server - name: Make the ceems_api_server data directory