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

Fix D4A Config Validation checking for old variable and fix docs ref

element-call-integration
Catalan Lover 11 месяцев назад
committed by Slavi Pantaleev
Родитель
Сommit
e073685632
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      docs/configuring-playbook-appservice-draupnir-for-all.md
  2. +1
    -1
      roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml

+ 1
- 1
docs/configuring-playbook-appservice-draupnir-for-all.md Просмотреть файл

@@ -45,7 +45,7 @@ Add the following configuration to your `inventory/host_vars/matrix.example.com/
```yaml
matrix_appservice_draupnir_for_all_enabled: true

matrix_appservice_draupnir_for_all_master_control_room_alias: "MANAGEMENT_ROOM_ALIAS_HERE"
matrix_appservice_draupnir_for_all_config_adminRoom: "MANAGEMENT_ROOM_ALIAS_HERE"
```

### Extending the configuration


+ 1
- 1
roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml Просмотреть файл

@@ -11,7 +11,7 @@
ansible.builtin.fail:
msg: "The `{{ item }}` variable must be defined and have a non-null value."
with_items:
- "matrix_appservice_draupnir_for_all_master_control_room_alias"
- "matrix_appservice_draupnir_for_all_config_adminRoom"
- "matrix_bot_draupnir_container_network"
when: "vars[item] == '' or vars[item] is none"



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