mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-06-26 11:17:51 +02:00
draft encryption support for hookshot
This commit is contained in:
@ -9,6 +9,12 @@
|
||||
- when: matrix_hookshot_enabled | bool
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
|
||||
|
||||
- tags:
|
||||
- reset-hookshot-encryption
|
||||
block:
|
||||
- when: matrix_hookshot_enabled | bool
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/reset_encryption.yml"
|
||||
|
||||
- tags:
|
||||
- setup-all
|
||||
- setup-hookshot
|
||||
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Resetting Hookshot's crypto store
|
||||
ansible.builtin.command:
|
||||
cmd: |
|
||||
{{ devture_systemd_docker_base_host_command_docker }} run
|
||||
--rm
|
||||
--name={{ matrix_hookshot_container_url }}-reset-crypto
|
||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
|
||||
--cap-drop=ALL
|
||||
-v {{ matrix_hookshot_base_path }}/config.yml:/config.yml
|
||||
{{ matrix_hookshot_docker_image }} yarn start:resetcrypto
|
||||
changed_when: false
|
Reference in New Issue
Block a user