update element config

This commit is contained in:
Michael Collins 2021-10-11 11:43:58 +08:00
parent 36883150c6
commit 9f0a8965d5

View file

@ -21,7 +21,7 @@
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_brand': "{{ awx_matrix_client_element_brand }}" 'matrix_client_element_brand': "{{ matrix_client_element_brand }}"
- name: Remove custom branding locally on AWX if not defined - name: Remove custom branding locally on AWX if not defined
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
@ -29,7 +29,7 @@
path: '{{ awx_cached_matrix_vars }}' path: '{{ awx_cached_matrix_vars }}'
regexp: "^matrix_client_element_brand: " regexp: "^matrix_client_element_brand: "
state: absent state: absent
when: awx_matrix_client_element_brand | trim | length == 0 when: matrix_client_element_brand | trim | length == 0
- name: Set fact for 'https' string - name: Set fact for 'https' string
set_fact: set_fact: