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

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

pull/4778/head
Kim Brose 3 месяцев назад
committed by Slavi Pantaleev
Родитель
Сommit
f8f7406c51
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      roles/custom/matrix-element-call/tasks/validate_config.yml

+ 1
- 1
roles/custom/matrix-element-call/tasks/validate_config.yml Просмотреть файл

@@ -17,7 +17,7 @@
ansible.builtin.fail: ansible.builtin.fail:
msg: > msg: >
You need to define a required configuration setting (`{{ item.name }}`). 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: with_items:
- {'name': 'matrix_element_call_container_network', when: true} - {'name': 'matrix_element_call_container_network', when: true}
- {'name': 'matrix_element_call_hostname', when: true} - {'name': 'matrix_element_call_hostname', when: true}


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