Slavi Pantaleev
9f2eff2ac7
Respect `devture_systemd_docker_base_docker_service_name`
Related to 0241c71a4c
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3270#issuecomment-2143782962
With this change, it should be possible for people to adjust the Docker
dependency from `docker.service` to something else (e.g. `pkg-ContainerManager-dockerd.service`),
or to completely eliminate it by setting `devture_systemd_docker_base_docker_service_name` to an empty string.
This makes it easier for people to use the playbook against a Synology DSM server.
1 jaar geleden
Slavi Pantaleev
7891268873
Do not hardcode https:// in all remaining places, refer to matrix_static_files_scheme
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3333
1 jaar geleden
Slavi Pantaleev
998e9ce655
Revert "Auto-generate matrix_bot_matrix_registration_bot_bot_password via group vars"
This reverts commit bf95ad2235 .
This was a bad idea.
It's better to have people manually define the password.
Otherwise, `matrix_homeserver_generic_secret_key` changing some day in
the future would break the bot and one would have to figure out how to
reset its password manually.
Using an explicit password is more stable.
2 jaren geleden
Slavi Pantaleev
bf95ad2235
Auto-generate matrix_bot_matrix_registration_bot_bot_password via group vars
2 jaren geleden
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2 jaren geleden
Slavi Pantaleev
d5ea80cf68
Remove unused variable (matrix_bot_matrix_registration_environment_variables_extension)
2 jaren geleden
Slavi Pantaleev
87c8c29c47
Move matrix-bot-matrix-registration-bot to its own container network
2 jaren geleden
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 jaren geleden
Slavi Pantaleev
d51a67a01a
Fix self-building for matrix-registration-bot
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2919
2 jaren geleden
Julian-Samuel Gebühr
14f7eed932
Update matrix-registration-bot, improve authentication config ( #2723 )
* Adjust to new mrb docker versioning
* Stabilze authentication
* fix lint
* Move & document mrb password usage
* Add clean cache role
* Document clean cache
* Fix lint
* Update CHANGELOG.md
* Automate access tokens
* Improve changelog
* Make use of mrb's function to fetch API tokens
* Adjust changelog
* Use ansible.builtin.file to clear directory
* Fix typo
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 jaren geleden
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.
3 jaren geleden