Slavi Pantaleev
3ee7deb2d7
Rename variable (`matrix_user_groupname` -> `matrix_group_name`)
10 месяцев назад
Slavi Pantaleev
9fc5cdab33
Rename variable (`matrix_user_username` -> `matrix_user_name`)
10 месяцев назад
Suguru Hirahara
d4c007dffd
Re-run reuse annotate for roles/
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 год назад
Suguru Hirahara
c18fc93a22
Update validate_config.yml files: edit the banner message for variables name
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 год назад
Suguru Hirahara
c385bee7af
Re-run "reuse annotate" to sort statements
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 год назад
Suguru Hirahara
d49e9f81da
Add license information to files for matrix-cactus-comments and matrix-cactus-comments-client
This commit adds copyright attributions in SPDX to the files for matrix-cactus-comments and matrix-cactus-comments-client, following REUSE's specification.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 год назад
Slavi Pantaleev
ea992496a3
Add matrix-cactus-comments-client role
This is split out from matrix-cactus-comments (see 241779b583 ),
but also heavily inspired by `matrix-static-files`.
2 лет назад
Slavi Pantaleev
241779b583
Initial work on moving matrix-cactus-comments to its own container network and splitting cactus-client out of it
2 лет назад
Slavi Pantaleev
4011eaf258
Rename variables having an incorrect prefix (matrix_bot_cactus_ -> matrix_cactus_)
Looks like these variables were originally named this way in
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2089
2 лет назад
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2 лет назад
Slavi Pantaleev
ba0a4e864a
Replace matrix-mailer with an external role
2 лет назад
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
3 лет назад
Julian-Samuel Gebühr
18d8d41e14
Fix client js and css download (load compiled version)
3 лет назад
Slavi Pantaleev
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
3 лет назад
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.
3 лет назад
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
3 лет назад
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
3 лет назад
Slavi Pantaleev
735bacca89
Do not run matrix-nginx-proxy config injection tasks unless necessary
These `init.yml` (now `inject_into_nginx_proxy.yml`) tasks do not need
to `always` run. They only need to run for `setup-all` and
`setup-nginx-proxy`. Unless we're dealing with these 2 tags, we can
spare ourselves a lot of work.
This patch also moves the `when` statement from `init.yml` into
`main.yml` in an effort to further optimize things by potentially
avoiding the extra file include.
3 лет назад
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
3 лет назад
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
3 лет назад
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
3 лет назад
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 лет назад