From 73e689e48eeef12906478bc6190a5254193ad0c1 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 31 Dec 2022 17:33:46 +0200 Subject: [PATCH] Fix --tags=register-user not working on Dendrite due to broken Jinja syntax Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2369 --- roles/custom/matrix-dendrite/tasks/register_user.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-dendrite/tasks/register_user.yml b/roles/custom/matrix-dendrite/tasks/register_user.yml index 1e2fc100f..8ee18ed2f 100644 --- a/roles/custom/matrix-dendrite/tasks/register_user.yml +++ b/roles/custom/matrix-dendrite/tasks/register_user.yml @@ -29,6 +29,6 @@ - name: Register user ansible.builtin.command: - cmd: "{{ {{ matrix_dendrite_bin_path }} }}/create-account {{ username | quote }} {{ password | quote }} {{ '1' if admin == 'yes' else '0' }}" + cmd: "{{ matrix_dendrite_bin_path }}/create-account {{ username | quote }} {{ password | quote }} {{ '1' if admin == 'yes' else '0' }}" register: matrix_dendrite_register_user_result changed_when: matrix_dendrite_register_user_result.rc == 0