mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-29 14:27:57 +01:00
change naming scheme of variables that feature in deploy.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
insertafter: '# Element Settings Start'
|
||||
with_dict:
|
||||
'matrix_client_element_welcome_logo': '{{ awx_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 awx_matrix_client_element_welcome_logo ) and ( awx_matrix_client_element_welcome_logo | trim | length > 0 )
|
||||
|
||||
- name: Remove custom logo locally on AWX if not defined
|
||||
delegate_to: 127.0.0.1
|
||||
@@ -47,7 +47,7 @@
|
||||
path: '{{ awx_cached_matrix_vars }}'
|
||||
regexp: "^matrix_client_element_welcome_logo: "
|
||||
state: absent
|
||||
when: awx_matrix_client_element_welcome_logo|trim|length == 0
|
||||
when: awx_matrix_client_element_welcome_logo | trim | length == 0
|
||||
|
||||
- name: Set custom logo link locally on AWX if defined
|
||||
delegate_to: 127.0.0.1
|
||||
@@ -58,7 +58,7 @@
|
||||
insertafter: '# Element Settings Start'
|
||||
with_dict:
|
||||
'matrix_client_element_welcome_logo_link': '{{ awx_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 awx_matrix_client_element_welcome_logo_link ) and ( awx_matrix_client_element_welcome_logo_link | trim | length > 0 )
|
||||
|
||||
- name: Remove custom logo link locally on AWX if not defined
|
||||
delegate_to: 127.0.0.1
|
||||
@@ -66,7 +66,7 @@
|
||||
path: '{{ awx_cached_matrix_vars }}'
|
||||
regexp: "^matrix_client_element_welcome_logo_link: "
|
||||
state: absent
|
||||
when: awx_matrix_client_element_welcome_logo_link|trim|length == 0
|
||||
when: awx_matrix_client_element_welcome_logo_link | trim | length == 0
|
||||
|
||||
- name: Set custom headline locally on AWX if defined
|
||||
delegate_to: 127.0.0.1
|
||||
@@ -77,7 +77,7 @@
|
||||
insertafter: '# Element Settings Start'
|
||||
with_dict:
|
||||
'matrix_client_element_welcome_headline': '{{ awx_matrix_client_element_welcome_headline }}'
|
||||
when: awx_matrix_client_element_welcome_headline|trim|length > 0
|
||||
when: awx_matrix_client_element_welcome_headline | trim | length > 0
|
||||
|
||||
- name: Remove custom headline locally on AWX if not defined
|
||||
delegate_to: 127.0.0.1
|
||||
@@ -85,7 +85,7 @@
|
||||
path: '{{ awx_cached_matrix_vars }}'
|
||||
regexp: "^matrix_client_element_welcome_headline: "
|
||||
state: absent
|
||||
when: awx_matrix_client_element_welcome_headline|trim|length == 0
|
||||
when: awx_matrix_client_element_welcome_headline | trim | length == 0
|
||||
|
||||
- name: Set custom text locally on AWX if defined
|
||||
delegate_to: 127.0.0.1
|
||||
@@ -96,7 +96,7 @@
|
||||
insertafter: '# Element Settings Start'
|
||||
with_dict:
|
||||
'matrix_client_element_welcome_text': '{{ awx_matrix_client_element_welcome_text }}'
|
||||
when: awx_matrix_client_element_welcome_text|trim|length > 0
|
||||
when: awx_matrix_client_element_welcome_text | trim | length > 0
|
||||
|
||||
- name: Remove custom text locally on AWX if not defined
|
||||
delegate_to: 127.0.0.1
|
||||
@@ -115,7 +115,7 @@
|
||||
insertafter: '# Element Settings Start'
|
||||
with_dict:
|
||||
'matrix_client_element_branding_welcomeBackgroundUrl': '{{ matrix_client_element_branding_welcomeBackgroundUrl }}'
|
||||
when: ( awx_https_string in matrix_client_element_branding_welcomeBackgroundUrl ) and ( matrix_client_element_branding_welcomeBackgroundUrl|length > 0 )
|
||||
when: ( awx_https_string in matrix_client_element_branding_welcomeBackgroundUrl ) and ( matrix_client_element_branding_welcomeBackgroundUrl | length > 0 )
|
||||
|
||||
- name: Save new 'Configure Element' survey.json to the AWX tower, template
|
||||
delegate_to: 127.0.0.1
|
||||
|
||||
Reference in New Issue
Block a user