Преглед изворни кода

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

pull/4175/head
Catalan Lover пре 1 година
родитељ
комит
ff9cc9f5e8
No known key found for this signature in database GPG Key ID: 649BCCF930C07F70
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 ```yaml
matrix_appservice_draupnir_for_all_enabled: true 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 ### Extending the configuration


+ 1
- 1
roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml Прегледај датотеку

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




Loading…
Откажи
Сачувај