|
13 | 13 | 'matrix_client_element_default_theme': '{{ matrix_client_element_default_theme }}' |
14 | 14 | 'matrix_client_element_registration_enabled': '{{ matrix_client_element_registration_enabled }}' |
15 | 15 |
|
16 | | -- name: Record Synapse Custom variables locally on AWX |
| 16 | +- name: Record Element-Web custom variables locally on AWX |
17 | 17 | delegate_to: 127.0.0.1 |
18 | 18 | lineinfile: |
19 | 19 | path: '{{ awx_cached_matrix_vars }}' |
|
28 | 28 | 'awx_matrix_client_element_welcome_headline': '{{ awx_matrix_client_element_welcome_headline }}' |
29 | 29 | 'awx_matrix_client_element_welcome_text': '{{ awx_matrix_client_element_welcome_text }}' |
30 | 30 |
|
31 | | -- name: Set custom branding locally on AWX |
| 31 | +- name: Set Element-Web custom branding locally on AWX |
32 | 32 | delegate_to: 127.0.0.1 |
33 | 33 | lineinfile: |
34 | 34 | path: '{{ awx_cached_matrix_vars }}' |
|
38 | 38 | with_dict: |
39 | 39 | 'matrix_client_element_brand': "{{ awx_matrix_client_element_brand }}" |
40 | 40 |
|
41 | | -- name: Remove custom branding locally on AWX if not defined |
| 41 | +- name: Remove Element-Web custom branding locally on AWX if not defined |
42 | 42 | delegate_to: 127.0.0.1 |
43 | 43 | lineinfile: |
44 | 44 | path: '{{ awx_cached_matrix_vars }}' |
|
50 | 50 | set_fact: |
51 | 51 | awx_https_string: "https" |
52 | 52 |
|
53 | | -- name: Set custom logo locally on AWX if defined |
| 53 | +- name: Set Element-Web custom logo locally on AWX if defined |
54 | 54 | delegate_to: 127.0.0.1 |
55 | 55 | lineinfile: |
56 | 56 | path: '{{ awx_cached_matrix_vars }}' |
|
61 | 61 | 'matrix_client_element_welcome_logo': '{{ awx_matrix_client_element_welcome_logo }}' |
62 | 62 | when: ( awx_https_string in awx_matrix_client_element_welcome_logo ) and ( awx_matrix_client_element_welcome_logo | trim | length > 0 ) |
63 | 63 |
|
64 | | -- name: Remove custom logo locally on AWX if not defined |
| 64 | +- name: Remove Element-Web custom logo locally on AWX if not defined |
65 | 65 | delegate_to: 127.0.0.1 |
66 | 66 | lineinfile: |
67 | 67 | path: '{{ awx_cached_matrix_vars }}' |
68 | 68 | regexp: "^matrix_client_element_welcome_logo: " |
69 | 69 | state: absent |
70 | 70 | when: awx_matrix_client_element_welcome_logo | trim | length == 0 |
71 | 71 |
|
72 | | -- name: Set custom logo link locally on AWX if defined |
| 72 | +- name: Set Element-Web custom logo link locally on AWX if defined |
73 | 73 | delegate_to: 127.0.0.1 |
74 | 74 | lineinfile: |
75 | 75 | path: '{{ awx_cached_matrix_vars }}' |
|
80 | 80 | 'matrix_client_element_welcome_logo_link': '{{ matrix_client_element_welcome_logo_link }}' |
81 | 81 | when: ( awx_https_string in awx_matrix_client_element_welcome_logo_link ) and ( awx_matrix_client_element_welcome_logo_link | trim | length > 0 ) |
82 | 82 |
|
83 | | -- name: Remove custom logo link locally on AWX if not defined |
| 83 | +- name: Remove Element-Web custom logo link locally on AWX if not defined |
84 | 84 | delegate_to: 127.0.0.1 |
85 | 85 | lineinfile: |
86 | 86 | path: '{{ awx_cached_matrix_vars }}' |
87 | 87 | regexp: "^matrix_client_element_welcome_logo_link: " |
88 | 88 | state: absent |
89 | 89 | when: awx_matrix_client_element_welcome_logo_link | trim | length == 0 |
90 | 90 |
|
91 | | -- name: Set custom headline locally on AWX if defined |
| 91 | +- name: Set Element-Web custom headline locally on AWX if defined |
92 | 92 | delegate_to: 127.0.0.1 |
93 | 93 | lineinfile: |
94 | 94 | path: '{{ awx_cached_matrix_vars }}' |
|
99 | 99 | 'matrix_client_element_welcome_headline': '{{ awx_matrix_client_element_welcome_headline }}' |
100 | 100 | when: awx_matrix_client_element_welcome_headline | trim | length > 0 |
101 | 101 |
|
102 | | -- name: Remove custom headline locally on AWX if not defined |
| 102 | +- name: Remove Element-Web custom headline locally on AWX if not defined |
103 | 103 | delegate_to: 127.0.0.1 |
104 | 104 | lineinfile: |
105 | 105 | path: '{{ awx_cached_matrix_vars }}' |
106 | 106 | regexp: "^matrix_client_element_welcome_headline: " |
107 | 107 | state: absent |
108 | 108 | when: awx_matrix_client_element_welcome_headline | trim | length == 0 |
109 | 109 |
|
110 | | -- name: Set custom text locally on AWX if defined |
| 110 | +- name: Set Element-Web custom text locally on AWX if defined |
111 | 111 | delegate_to: 127.0.0.1 |
112 | 112 | lineinfile: |
113 | 113 | path: '{{ awx_cached_matrix_vars }}' |
|
118 | 118 | 'matrix_client_element_welcome_text': '{{ awx_matrix_client_element_welcome_text }}' |
119 | 119 | when: awx_matrix_client_element_welcome_text | trim | length > 0 |
120 | 120 |
|
121 | | -- name: Remove custom text locally on AWX if not defined |
| 121 | +- name: Remove Element-Web custom text locally on AWX if not defined |
122 | 122 | delegate_to: 127.0.0.1 |
123 | 123 | lineinfile: |
124 | 124 | path: '{{ awx_cached_matrix_vars }}' |
125 | 125 | regexp: "^matrix_client_element_welcome_text: " |
126 | 126 | state: absent |
127 | 127 | when: awx_matrix_client_element_welcome_text | trim | length == 0 |
128 | 128 |
|
129 | | -- name: Set element-web background locally on AWX if defined |
| 129 | +- name: Set Element-Web background locally on AWX if defined |
130 | 130 | delegate_to: 127.0.0.1 |
131 | 131 | lineinfile: |
132 | 132 | path: '{{ awx_cached_matrix_vars }}' |
|
137 | 137 | 'matrix_client_element_branding_welcomeBackgroundUrl': '{{ awx_matrix_client_element_branding_welcomeBackgroundUrl }}' |
138 | 138 | when: awx_matrix_client_element_branding_welcomeBackgroundUrl | trim | length > 0 |
139 | 139 |
|
140 | | -- name: Remove element-web background locally on AWX if not defined |
| 140 | +- name: Remove Element-Web background locally on AWX if not defined |
141 | 141 | delegate_to: 127.0.0.1 |
142 | 142 | lineinfile: |
143 | 143 | path: '{{ awx_cached_matrix_vars }}' |
|
0 commit comments