diff --git a/README.md b/README.md index 42971461..16fea42c 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ You can do it via this Ansible playbook (make sure to edit the `` **or** using the command-line after **SSH**-ing to your server (requires that [all services have been started](#starting-the-services)): - matrix-synapse-register-user + /usr/local/bin/matrix-synapse-register-user **Note**: `` is just a plain username (like `john`), not your full `@:` identifier. diff --git a/roles/matrix-server/tasks/register_user.yml b/roles/matrix-server/tasks/register_user.yml index cfd76867..f77ee08d 100644 --- a/roles/matrix-server/tasks/register_user.yml +++ b/roles/matrix-server/tasks/register_user.yml @@ -21,4 +21,4 @@ when: start_result.changed - name: Register user - shell: "matrix-synapse-register-user {{ username }} {{ password }} {{ '1' if admin == 'yes' else '0' }}" \ No newline at end of file + shell: "/usr/local/bin/matrix-synapse-register-user {{ username }} {{ password }} {{ '1' if admin == 'yes' else '0' }}" \ No newline at end of file