Просмотр исходного кода

Extract api_prefix rageshake configuration into matrix_rageshake_config_api_prefix

pull/2510/head
Slavi Pantaleev 3 лет назад
Родитель
Сommit
db0104978f
2 измененных файлов: 3 добавлений и 1 удалений
  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 Просмотреть файл

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


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

# Rageshake Settings # Rageshake Settings


# Additional config to pass to the rageshake. # Additional config to pass to the rageshake.


+ 1
- 1
roles/custom/matrix-rageshake/templates/config.j2 Просмотреть файл

@@ -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) }} {{ matrix_rageshake_config | to_nice_yaml(indent=2, width=999999) }}

Загрузка…
Отмена
Сохранить