mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-07-18 04:25:33 +03:00
Rename matrix_hookshot_* variables to matrix_bridge_hookshot_*
Part of adopting a uniform naming policy for bridge variables, where the variable prefix matches the role directory name. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
ansible.builtin.service:
|
||||
name: matrix-hookshot
|
||||
state: stopped
|
||||
register: matrix_hookshot_stopped
|
||||
register: matrix_bridge_hookshot_stopped
|
||||
|
||||
# `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
|
||||
@@ -17,11 +17,11 @@
|
||||
cmd: |
|
||||
{{ devture_systemd_docker_base_host_command_docker }} run
|
||||
--rm
|
||||
--name={{ matrix_hookshot_identifier }}-reset-crypto
|
||||
--name={{ matrix_bridge_hookshot_identifier }}-reset-crypto
|
||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
|
||||
--cap-drop=ALL
|
||||
--mount type=bind,src={{ matrix_hookshot_base_path }},dst=/data
|
||||
{{ matrix_hookshot_container_image }}
|
||||
--mount type=bind,src={{ matrix_bridge_hookshot_base_path }},dst=/data
|
||||
{{ matrix_bridge_hookshot_container_image }}
|
||||
node --require source-map-support/register /usr/bin/matrix-hookshot/App/ResetCryptoStore.js
|
||||
changed_when: true
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
when: matrix_hookshot_stopped.changed | bool
|
||||
when: matrix_bridge_hookshot_stopped.changed | bool
|
||||
|
||||
Reference in New Issue
Block a user