From 36883150c6c3c7f5903509265d37cfdc0c6e776e Mon Sep 17 00:00:00 2001
From: Michael Collins <gomatrixhosting@tutanota.com>
Date: Mon, 11 Oct 2021 11:30:30 +0800
Subject: [PATCH] update

---
 roles/matrix-awx/tasks/set_variables_element.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/matrix-awx/tasks/set_variables_element.yml b/roles/matrix-awx/tasks/set_variables_element.yml
index 407b37395..0df83ee77 100755
--- a/roles/matrix-awx/tasks/set_variables_element.yml
+++ b/roles/matrix-awx/tasks/set_variables_element.yml
@@ -21,7 +21,7 @@
     line: "{{ item.key }}: '{{ item.value }}'"
     insertafter: '# Element Settings Start'
   with_dict:
-    'matrix_client_element_brand': "{{ matrix_client_element_brand }}"
+    'matrix_client_element_brand': "{{ awx_matrix_client_element_brand }}"
 
 - name: Remove custom branding locally on AWX if not defined
   delegate_to: 127.0.0.1
@@ -29,7 +29,7 @@
     path: '{{ awx_cached_matrix_vars }}'
     regexp: "^matrix_client_element_brand: "
     state: absent
-  when: matrix_client_element_brand | trim | length == 0
+  when: awx_matrix_client_element_brand | trim | length == 0
 
 - name: Set fact for 'https' string
   set_fact: