Przeglądaj źródła

Stop using deprecated `vars` variable for matrix-element-call

pull/4776/head
Kim Brose 3 miesięcy temu
committed by GitHub
rodzic
commit
55cfbb6ed6
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      roles/custom/matrix-element-call/tasks/validate_config.yml

+ 1
- 1
roles/custom/matrix-element-call/tasks/validate_config.yml Wyświetl plik

@@ -17,7 +17,7 @@
ansible.builtin.fail:
msg: >
You need to define a required configuration setting (`{{ item.name }}`).
when: "item.when | bool and vars[item.name] | string | length == 0"
when: "item.when | bool and lookup('vars', item.name, default='') | string | length == 0"
with_items:
- {'name': 'matrix_element_call_container_network', when: true}
- {'name': 'matrix_element_call_hostname', when: true}


Ładowanie…
Anuluj
Zapisz