Jayesh Nirve
6939a3d6d3
fix: only add element related entries to client well-known if element is enabled ( #2453 )
* fix: only add element related entries to client well-known if element is enabled
* Fix matrix-base/defaults/main.yml syntax
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
пре 3 година
Slavi Pantaleev
6b0650641b
Update matrix_playbook_reverse_proxy_type documentation
пре 3 година
Slavi Pantaleev
8309a21303
Rename reverse proxy types and fix Hookshot http/https urlPrefix issue
пре 3 година
Slavi Pantaleev
97f65e8dff
Minor fixes to allow for Traefik without SSL
пре 3 година
Slavi Pantaleev
28d2eb593c
Add matrix_playbook_reverse_proxy_type variable which influences all other services
пре 3 година
Slavi Pantaleev
8155f780e5
Add support for reverse-proxying Matric (Client & Federation) via Traefik
пре 3 година
Slavi Pantaleev
707e909b9b
/usr/local/bin/matrix-ssl-lets-encrypt-certificates-renew -> /matrix/ssl/bin/lets-encrypt-certificates-renew
пре 3 година
Slavi Pantaleev
fb86f6d5e7
/usr/local/bin/matrix-remove-all -> /matrix/bin/remove-all
пре 3 година
Slavi Pantaleev
4d881477a3
Add matrix_homeserver_enabled variable
We need this to control whether `('matrix-' + matrix_homeserver_implementation + '.service')`
would get injected into `devture_systemd_service_manager_services_list_auto`
пре 3 година
Slavi Pantaleev
93d4f8d425
Replace matrix-common-after systemd service management with com.devture.ansible.role.systemd_service_manager
пре 3 година
Slavi Pantaleev
360e643f84
Add service priorities - try to stop/start them in an optimal order
пре 3 година
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
пре 3 година
Slavi Pantaleev
2ad6bd87c7
Determine matrix_architecture automatically
пре 3 година
Slavi Pantaleev
d8f2141eb0
Install Docker via geerlingguy.docker Galaxy role
пре 3 година
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
пре 3 година
Slavi Pantaleev
4f4c856e43
matrix_host_command_systemctl -> devture_systemd_docker_base_host_command_systemctl (via com.devture.ansible.role.systemd_docker_base)
пре 3 година
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
пре 3 година
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
пре 3 година
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
пре 3 година
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
пре 3 година
Slavi Pantaleev
04c6c11561
Install ntpd/systemd-timesync via com.devture.ansible.role.timesync
пре 3 година
Slavi Pantaleev
c3a7237de7
Initial work on using externally defined roles
пре 3 година
Aine
83c40fce15
standalone etherpad
пре 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 година
ikkemaniac
8b425b995e
add newline char
пре 3 година
ikkemaniac
15fbc525cf
Typo
пре 3 година
ikkemaniac
fd25cf8f54
Update wording
пре 3 година
ikkemaniac
678dfc6dc3
Rename var
пре 3 година
ikkemaniac
80e57417f4
To recover from a failure or allow to quickly reset to known state we need to know with what playbook-commit the sever is installed. This commit saves the GIT hash/status when we run the playbook in a file called git_hash.yml. It also backs up that file by copying it to the target machine.
пре 3 година
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
пре 3 година
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
пре 3 година
Charles Wright
20767b5149
Fixes to enable Conduit in setup-all
пре 3 година
Slavi Pantaleev
c73680712b
Fix (suppress) var-naming ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-naming
We don't really fix these, but just suppress them,
because they're like that intentionally.
We try to name variables in a way that is consistent with the
configuration key they control. If the upstream component uses
camelCase, we also need to include camelCase in the variable name.
пре 3 година
Slavi Pantaleev
318bfa84d5
Fix spacing around filter invocations
пре 3 година
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
пре 3 година
Slavi Pantaleev
78b5be4a26
Do not generate /.well-known/matrix/support unless explicitly asked to
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
пре 3 година
Slavi Pantaleev
4a5143fa8d
Add variable to influence whether /.well-known/matrix/support is created
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
пре 3 година
teutates
018ca75d48
Implement MSC 1929 Homeserver Admin Contact ( #1931 )
* Implement MSC 1929 Homeserver Admin Contact
Fixes #1612
For details to the proposed (not accepted yet) MSC, see:
https://github.com/matrix-org/matrix-spec-proposals/blob/hs/proposal-admin-contact-1/proposals/1929-admin-contact.md
* Implement feedback from PR #1931
* Implement feedback from PR #1931
* Fix mixed indentation
пре 3 година
Julian Foad
ec9f8e2931
Add a role to install 'ntfy' push-notification server.
This commit adds a 'matrix-ntfy' role that runs Ntfy server in Docker with
simple configuration, and plumbing to add the role to the playbook.
TODO: documentation, self-check, database persistence.
пре 3 година
Aine
23ed70a6bb
fix typo
пре 3 година
Slavi Pantaleev
e27ecd6e76
Add matrix_admin example
пре 3 година
Aine
44f2234c99
define matrix_admin in matrix-base
пре 3 година
Aine
290754371a
add matrix-bot-buscarron
пре 3 година
Aine
502ea21fba
add retires to all get_url actions
пре 3 година
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
пре 4 година
Aine
1c1b705b22
fix typo
пре 4 година
Aine
701591e87e
Added retries to the docker pulls
пре 4 година
Slavi Pantaleev
1895b01810
Move matrix_container_global_registry_prefix to matrix-base
Various roles depend on this. It makes sense to make it part
of the `matrix-base` role.
пре 4 година
Slavi Pantaleev
7330992b20
Do not compare ansible_distribution_major_version as a string
Fedora 35 is:
- `ansible_os_family = 'RedHat'`
- `ansible_distribution_major_version = '35'`
Our RedHat checks against v7/v8 are really for RHEL derivatives (CentOS, Rockylinux,
AlmaLinux), but the same checks (by coincidence) apply for Fedora 35.
The problem is that `'35' > '7'` (comparing these as strings) is
`false`.
This patch makes sure that we always cast
`ansible_distribution_major_version` to an integer.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1610
пре 4 година
Slavi Pantaleev
a095accce7
Replace some CentOS references to support other RHEL derivatives
Not hardcoding 'CentOS' and using the OS family ('RedHat') instead,
we now behave better on Rockylinux and AlmaLinux, etc.
With that said, we may or may not fully support CentOS/Rockylinux/AlmaLinux v8 yet.
Certain things were improved in
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/300 .
v8 support is discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/300
Certain things (firewalld?) may still be problematic. This patch does not try to address those.
If the remaining issues are confirmed to be fixed in the future, we can mark v8 as supported.
пре 4 година