Array in a Matrix
d5e8d2a939
update dendrite
2 years ago
Slavi Pantaleev
4b2d30a474
Fix matrix_dendrite_client_api_turn_shared_secret not being defined
...
Regression since https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2290
2 years ago
Slavi Pantaleev
40cf9cd72c
/usr/local/bin/matrix-dendrite-create-account -> /matrix/dendrite/bin/create-account
2 years ago
Slavi Pantaleev
eedf5ad94d
Remove some hardcoded matrix-postgres references
2 years ago
Array in a Matrix
504d4a4134
Add dendrite captcha config to doc and hCaptcha ( #2290 )
...
* added dendrite captcha options
* added hcaptcha doc
* proper url
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Update main.yml
* renamed captcha vars to new naming scheme
* change vars to new format
* Rename back some incorrect renamed variables
These variables are either not just part of the `client_api` subsection,
or are not even part of that section at all. They shouldn't have been
renamed in baaef2ed616e2645550d9
* Fix up naming inconsistencies
Some of these variables had been renamed in one place,
but not in other places, so it couldn't have worked that way.
* Add validation/deprecation for renamed Dendrite variables
Related to 4097898f885cf4c73, baaef2ed616e2645550, 68f4418092fa8ad
and a0b4a0ae6b2f1f18
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
Slavi Pantaleev
a04f6f4e3d
Optimize uninstall tasks a bit
...
- forego removing Docker images - it's not effective anyway, because it
only removes the last version.. which is a drop in the bucket, usually
- do not reload systemd - it's none of our business. `--tags=start`,
etc., handle this
- combine all uninstall tasks under a single block, which only runs if
we detect traces (a leftover systemd .service file) of the component.
If no such .service is detected, we skip them all. This may lead to
incorect cleanup in rare cases, but is good enough for the most part.
2 years ago
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
2 years ago
Slavi Pantaleev
d29b0aeddb
Replace even more import_tasks calls with include_tasks
2 years ago
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
2 years ago
Slavi Pantaleev
dd4f8df905
Remove unnecessary matrix_dendrite_role_executed
2 years ago
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
2 years ago
Array in a Matrix
11ea49075d
Update main.yml
2 years ago
Array in a Matrix
70be6eb323
Update dendrite.yaml.j2
2 years ago
Array in a Matrix
7cc668489b
add auto join option to dendrite config ( #2255 )
...
* add auto join option to dendrite config
* added auto_join_rooms: variable
* added "configuring dendrite" entry
* created dendite configuration documentation
* fixed config path
* Update docs/configuring-playbook-dendrite.md
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Update docs/configuring-playbook-dendrite.md
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Update docs/configuring-playbook-dendrite.md
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Update docs/configuring-playbook-dendrite.md
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Update docs/configuring-playbook-dendrite.md
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Update roles/custom/matrix-dendrite/defaults/main.yml
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* correction
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
Darren Rambaud
1c643263dd
dendrite: update image tag to latest release (0.10.7)
...
- https://github.com/matrix-org/dendrite/releases/tag/v0.10.7
2 years ago
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
2 years ago
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
...
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
2 years ago