Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445pull/4457/head
| @@ -19,7 +19,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] | length == 0" | |||||
| when: "item.when | bool and vars[item.name] | string | length == 0" | |||||
| with_items: | with_items: | ||||
| - {'name': 'matrix_authentication_service_syn2mas_synapse_homeserver_config_path', when: true} | - {'name': 'matrix_authentication_service_syn2mas_synapse_homeserver_config_path', when: true} | ||||
| @@ -9,7 +9,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] | length == 0" | |||||
| when: "item.when | bool and vars[item.name] | string | length == 0" | |||||
| with_items: | with_items: | ||||
| - {'name': 'matrix_authentication_service_hostname', when: true} | - {'name': 'matrix_authentication_service_hostname', when: true} | ||||
| - {'name': 'matrix_authentication_service_config_database_username', when: true} | - {'name': 'matrix_authentication_service_config_database_username', when: true} | ||||
| @@ -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] | length == 0" | |||||
| when: "item.when | bool and vars[item.name] | 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} | ||||
| @@ -10,7 +10,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] | length == 0" | |||||
| when: "item.when | bool and vars[item.name] | string | length == 0" | |||||
| with_items: | with_items: | ||||
| - {'name': 'matrix_livekit_jwt_service_hostname', when: true} | - {'name': 'matrix_livekit_jwt_service_hostname', when: true} | ||||
| - {'name': 'matrix_livekit_jwt_service_container_network', when: true} | - {'name': 'matrix_livekit_jwt_service_container_network', when: true} | ||||
| @@ -8,7 +8,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] | length == 0" | |||||
| when: "item.when | bool and vars[item.name] | string | length == 0" | |||||
| with_items: | with_items: | ||||
| - {'name': 'matrix_static_files_container_labels_well_known_matrix_endpoint_traefik_hostname', when: "{{ matrix_static_files_container_labels_well_known_matrix_endpoint_enabled }}"} | - {'name': 'matrix_static_files_container_labels_well_known_matrix_endpoint_traefik_hostname', when: "{{ matrix_static_files_container_labels_well_known_matrix_endpoint_enabled }}"} | ||||
| - {'name': 'matrix_static_files_container_labels_well_known_matrix_endpoint_traefik_path_prefix', when: "{{ matrix_static_files_container_labels_well_known_matrix_endpoint_enabled }}"} | - {'name': 'matrix_static_files_container_labels_well_known_matrix_endpoint_traefik_path_prefix', when: "{{ matrix_static_files_container_labels_well_known_matrix_endpoint_enabled }}"} | ||||
| @@ -10,7 +10,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] | length == 0" | |||||
| when: "item.when | bool and vars[item.name] | string | length == 0" | |||||
| with_items: | with_items: | ||||
| - {'name': 'matrix_synapse_username', when: true} | - {'name': 'matrix_synapse_username', when: true} | ||||
| - {'name': 'matrix_synapse_uid', when: true} | - {'name': 'matrix_synapse_uid', when: true} | ||||