Ver a proveniência
Fix D4A Config Validation checking for old variable and fix docs ref
pull/4175/head
Catalan Lover
há 1 ano
ascendente
cometimento
ff9cc9f5e8
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 649BCCF930C07F70
2 ficheiros alterados com
2 adições e
2 eliminações
-
docs/configuring-playbook-appservice-draupnir-for-all.md
-
roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml
|
|
|
@@ -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 |
|
|
|
|
|
|
|
@@ -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" |
|
|
|
|
|
|
|
|