Fix --tags=register-user not working on Dendrite due to broken Jinja syntax

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2369
development
Slavi Pantaleev 2 years ago
parent d018677293
commit 73e689e48e

@ -29,6 +29,6 @@
- name: Register user - name: Register user
ansible.builtin.command: 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 register: matrix_dendrite_register_user_result
changed_when: matrix_dendrite_register_user_result.rc == 0 changed_when: matrix_dendrite_register_user_result.rc == 0

Loading…
Cancel
Save