Browse Source

Extract api_prefix rageshake configuration into matrix_rageshake_config_api_prefix

pull/2510/head
Slavi Pantaleev 3 years ago
parent
commit
db0104978f
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      roles/custom/matrix-rageshake/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-rageshake/templates/config.j2

+ 2
- 0
roles/custom/matrix-rageshake/defaults/main.yml View File

@@ -29,6 +29,8 @@ matrix_rageshake_systemd_required_services_list: ["docker.service"]
# List of systemd services that matrix-rageshake.service wants
matrix_rageshake_systemd_wanted_services_list: []

matrix_rageshake_config_api_prefix: "https://{{ matrix_server_fqn_rageshake }}/api/"

# Rageshake Settings

# Additional config to pass to the rageshake.


+ 1
- 1
roles/custom/matrix-rageshake/templates/config.j2 View File

@@ -1,2 +1,2 @@
api_prefix: "https://{{ matrix_server_fqn_rageshake }}/api/"
api_prefix: {{ matrix_rageshake_config_api_prefix | to_json }}
{{ matrix_rageshake_config | to_nice_yaml(indent=2, width=999999) }}

Loading…
Cancel
Save