|
|
@ -36,8 +36,8 @@
|
|
|
|
when: "start_result.changed or postgres_start_result.changed"
|
|
|
|
when: "start_result.changed or postgres_start_result.changed"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate password hash
|
|
|
|
- name: Generate password hash
|
|
|
|
shell: "/usr/bin/docker exec matrix-synapse /usr/local/bin/hash_password -c /data/homeserver.yaml -p {{ password }}"
|
|
|
|
shell: "/usr/bin/docker exec matrix-synapse /usr/local/bin/hash_password -c /data/homeserver.yaml -p {{ password|quote }}"
|
|
|
|
register: password_hash
|
|
|
|
register: password_hash
|
|
|
|
|
|
|
|
|
|
|
|
- name: Update user password hash
|
|
|
|
- name: Update user password hash
|
|
|
|
shell: "{{ matrix_local_bin_path }}/matrix-postgres-update-user-password-hash {{ username }} '{{ password_hash.stdout }}'"
|
|
|
|
command: "{{ matrix_local_bin_path }}/matrix-postgres-update-user-password-hash {{ username|quote }} {{ password_hash.stdout|quote }}"
|
|
|
|