Redo the way matryx-rageshake configuration is done

This makes it consistent with the rest of the playbook:
- there's a default config which has various variables controlling
  settings
- there's also an `_extension_yaml` variable, which lets you override it
This commit is contained in:
Slavi Pantaleev
2023-02-25 12:29:22 +02:00
parent a51c9521a8
commit 8339ebdf58
4 changed files with 31 additions and 13 deletions

View File

@ -1,2 +0,0 @@
api_prefix: {{ matrix_rageshake_config_api_prefix | to_json }}
{{ matrix_rageshake_config | to_nice_yaml(indent=2, width=999999) }}

View File

@ -0,0 +1,4 @@
# Default configuration for Rageshake.
# To extend it, use `matrix_rageshake_configuration_extension_yaml`.
api_prefix: {{ matrix_rageshake_config_api_prefix | to_json }}