Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Apr 4, 2024
1 parent f3061a0 commit fe23d21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/ceems_api_server/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion roles/ceems_api_server/molecule/alternative/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
4 changes: 2 additions & 2 deletions roles/ceems_api_server/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe23d21

Please sign in to comment.