From 07a5433c2469a0b8b0dadc4d56bc086b510398a0 Mon Sep 17 00:00:00 2001 From: Michael Collins Date: Sun, 10 Oct 2021 14:39:36 +0800 Subject: [PATCH] fix lineinfile --- roles/matrix-awx/tasks/set_variables_element.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-awx/tasks/set_variables_element.yml b/roles/matrix-awx/tasks/set_variables_element.yml index ea06f3eb..bb0c4ef4 100755 --- a/roles/matrix-awx/tasks/set_variables_element.yml +++ b/roles/matrix-awx/tasks/set_variables_element.yml @@ -20,7 +20,7 @@ path: '{{ awx_cached_matrix_vars }}' regexp: "^#? *{{ item.key | regex_escape() }}:" line: "{{ item.key }}: {{ item.value }}" - insertbefore: '# Custom Settings Start' + insertbefore: '# Element Settings Start' with_dict: 'awx_matrix_client_element_welcome_logo': '{{ awx_matrix_client_element_welcome_logo }}' 'awx_matrix_client_element_welcome_logo_link': '{{ awx_matrix_client_element_welcome_logo_link }}'