mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 20:57:41 +01:00
fix conditional
This commit is contained in:
parent
384dfdce4b
commit
df9da052ab
@ -77,7 +77,7 @@
|
|||||||
insertafter: '# Element Settings Start'
|
insertafter: '# Element Settings Start'
|
||||||
with_dict:
|
with_dict:
|
||||||
'matrix_client_element_welcome_headline': '{{ ext_matrix_client_element_welcome_headline }}'
|
'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
|
- name: Remove custom headline locally on AWX if not defined
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
@ -96,7 +96,7 @@
|
|||||||
insertafter: '# Element Settings Start'
|
insertafter: '# Element Settings Start'
|
||||||
with_dict:
|
with_dict:
|
||||||
'matrix_client_element_welcome_text': '{{ ext_matrix_client_element_welcome_text }}'
|
'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
|
- name: Remove custom text locally on AWX if not defined
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
|
Loading…
Reference in New Issue
Block a user