Slavi Pantaleev 2024-12-11 09:32:12 +02:00
parent 8f672d8a5b
commit bac0f7546a

View File

@ -1,5 +1,7 @@
---
# `yarn start:resetcrypto` fails, as described here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3868
# Also related to: https://github.com/matrix-org/matrix-hookshot/issues/730
- name: Resetting Hookshot's crypto store
ansible.builtin.command:
cmd: |
@ -8,7 +10,7 @@
--name={{ matrix_hookshot_identifier }}-reset-crypto
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
--cap-drop=ALL
--mount type=bind,src={{ matrix_hookshot_base_path }}/config.yml,dst=/config.yml
--mount type=bind,src={{ matrix_hookshot_base_path }},dst=/data
{{ matrix_hookshot_docker_image }}
yarn start:resetcrypto
node --require source-map-support/register /usr/bin/matrix-hookshot/App/ResetCryptoStore.js
changed_when: true