|
|
@ -43,8 +43,8 @@
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
with_dict:
|
|
|
|
with_dict:
|
|
|
|
'matrix_client_element_welcome_logo': '{{ awx_matrix_client_element_welcome_logo }}'
|
|
|
|
'matrix_client_element_welcome_logo': '{{ matrix_client_element_welcome_logo }}'
|
|
|
|
when: ( awx_https_string in awx_matrix_client_element_welcome_logo ) and ( awx_matrix_client_element_welcome_logo | trim | length > 0 )
|
|
|
|
when: ( awx_https_string in matrix_client_element_welcome_logo ) and ( matrix_client_element_welcome_logo | trim | length > 0 )
|
|
|
|
|
|
|
|
|
|
|
|
- name: Remove custom logo locally on AWX if not defined
|
|
|
|
- name: Remove custom logo locally on AWX if not defined
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
@ -52,7 +52,7 @@
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
regexp: "^matrix_client_element_welcome_logo: "
|
|
|
|
regexp: "^matrix_client_element_welcome_logo: "
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
when: awx_matrix_client_element_welcome_logo | trim | length == 0
|
|
|
|
when: matrix_client_element_welcome_logo | trim | length == 0
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set custom logo link locally on AWX if defined
|
|
|
|
- name: Set custom logo link locally on AWX if defined
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
@ -62,8 +62,8 @@
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
with_dict:
|
|
|
|
with_dict:
|
|
|
|
'matrix_client_element_welcome_logo_link': '{{ awx_matrix_client_element_welcome_logo_link }}'
|
|
|
|
'matrix_client_element_welcome_logo_link': '{{ matrix_client_element_welcome_logo_link }}'
|
|
|
|
when: ( awx_https_string in awx_matrix_client_element_welcome_logo_link ) and ( awx_matrix_client_element_welcome_logo_link | trim | length > 0 )
|
|
|
|
when: ( awx_https_string in matrix_client_element_welcome_logo_link ) and ( matrix_client_element_welcome_logo_link | trim | length > 0 )
|
|
|
|
|
|
|
|
|
|
|
|
- name: Remove custom logo link locally on AWX if not defined
|
|
|
|
- name: Remove custom logo link locally on AWX if not defined
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
@ -71,7 +71,7 @@
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
regexp: "^matrix_client_element_welcome_logo_link: "
|
|
|
|
regexp: "^matrix_client_element_welcome_logo_link: "
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
when: awx_matrix_client_element_welcome_logo_link | trim | length == 0
|
|
|
|
when: matrix_client_element_welcome_logo_link | trim | length == 0
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set custom headline locally on AWX if defined
|
|
|
|
- name: Set custom headline locally on AWX if defined
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
@ -81,8 +81,8 @@
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
with_dict:
|
|
|
|
with_dict:
|
|
|
|
'matrix_client_element_welcome_headline': '{{ awx_matrix_client_element_welcome_headline }}'
|
|
|
|
'matrix_client_element_welcome_headline': '{{ matrix_client_element_welcome_headline }}'
|
|
|
|
when: awx_matrix_client_element_welcome_headline | trim | length > 0
|
|
|
|
when: 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
|
|
|
@ -90,7 +90,7 @@
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
regexp: "^matrix_client_element_welcome_headline: "
|
|
|
|
regexp: "^matrix_client_element_welcome_headline: "
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
when: awx_matrix_client_element_welcome_headline | trim | length == 0
|
|
|
|
when: matrix_client_element_welcome_headline | trim | length == 0
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set custom text locally on AWX if defined
|
|
|
|
- name: Set custom text locally on AWX if defined
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
@ -100,8 +100,8 @@
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
line: "{{ item.key }}: '{{ item.value }}'"
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
insertafter: '# Element Settings Start'
|
|
|
|
with_dict:
|
|
|
|
with_dict:
|
|
|
|
'matrix_client_element_welcome_text': '{{ awx_matrix_client_element_welcome_text }}'
|
|
|
|
'matrix_client_element_welcome_text': '{{ matrix_client_element_welcome_text }}'
|
|
|
|
when: awx_matrix_client_element_welcome_text | trim | length > 0
|
|
|
|
when: 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
|
|
|
@ -109,7 +109,7 @@
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
path: '{{ awx_cached_matrix_vars }}'
|
|
|
|
regexp: "^matrix_client_element_welcome_text: "
|
|
|
|
regexp: "^matrix_client_element_welcome_text: "
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
when: awx_matrix_client_element_welcome_text | trim | length == 0
|
|
|
|
when: matrix_client_element_welcome_text | trim | length == 0
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set element-web background locally on AWX if defined
|
|
|
|
- name: Set element-web background locally on AWX if defined
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|