소스 검색

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

pull/4778/head
Kim Brose 4 달 전
committed by Slavi Pantaleev
부모
커밋
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:
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}


불러오는 중...
취소
저장