/usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user

This commit is contained in:
Slavi Pantaleev
2022-11-27 09:26:18 +02:00
parent 7b43ef34b7
commit 72744f9db9
6 changed files with 8 additions and 11 deletions

View File

@ -28,6 +28,7 @@
when: "start_result.changed"
- name: Register user
ansible.builtin.command: "{{ matrix_local_bin_path }}/matrix-synapse-register-user {{ username | quote }} {{ password | quote }} {{ '1' if admin == 'yes' else '0' }}"
ansible.builtin.command:
cmd: "{{ matrix_synapse_bin_path }}/register-user {{ username | quote }} {{ password | quote }} {{ '1' if admin == 'yes' else '0' }}"
register: matrix_synapse_register_user_result
changed_when: matrix_synapse_register_user_result.rc == 0