fix conditional
This commit is contained in:
		| @@ -77,7 +77,7 @@ | ||||
|     insertafter: '# Element Settings Start' | ||||
|   with_dict: | ||||
|     'matrix_client_element_welcome_headline': '{{ ext_matrix_client_element_welcome_headline }}' | ||||
|   when: ( awx_https_string in ext_matrix_client_element_welcome_headline ) and ( ext_matrix_client_element_welcome_headline|trim|length > 0 ) | ||||
|   when: ext_matrix_client_element_welcome_headline|trim|length > 0 | ||||
|  | ||||
| - name: Remove custom headline locally on AWX if not defined | ||||
|   delegate_to: 127.0.0.1 | ||||
| @@ -96,7 +96,7 @@ | ||||
|     insertafter: '# Element Settings Start' | ||||
|   with_dict: | ||||
|     'matrix_client_element_welcome_text': '{{ ext_matrix_client_element_welcome_text }}' | ||||
|   when: ( awx_https_string in ext_matrix_client_element_welcome_text ) and ( ext_matrix_client_element_welcome_text|trim|length > 0 ) | ||||
|   when: ext_matrix_client_element_welcome_text|trim|length > 0 | ||||
|  | ||||
| - name: Remove custom text locally on AWX if not defined | ||||
|   delegate_to: 127.0.0.1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user