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 年之前
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 年之前
Slavi Pantaleev
05b4572fab
Fix matrix_dimension_homeserver_federationUrl for Dendrite
4 年之前
Slavi Pantaleev
965890bf75
Derive secrets from matrix_homeserver_generic_secret_key, not matrix_synapse_macaroon_secret_key
We're trying to move away from implementation-specific variables,
hoping for a clean (implementation-neutral) examples/vars.yml file.
4 年之前
Slavi Pantaleev
1dfe21944f
Make matrix_homeserver_implementation influence matrix_IMPLEMENTATION_enabled, not the other way around
Doing this seems more reasonable and simpler.
4 年之前
Slavi Pantaleev
2bd33e5cf2
Make --tags=register-user work for both Dendrite/Synapse
Also get rid of `--tags=update-user-password` in the
`matrix-dendrite` role, as what we had doesn't work.
We may be able to do it with some Ansible helper or something else.
For now, we'll omit this feature.
4 年之前
Slavi Pantaleev
3cf9f87097
Add matrix_homeserver_implementation, tracking the current homeserver implementation
The goal is to have a single variable which tells us which homeserver
software is in use. Much simpler than having if/elif/elif checks for
variables like (`matrix_synapse_enabled` and `matrix_dendrite_enabled`, etc.)
everywhere.
4 年之前
rakshazi
5788a16a2e
added matrix-client-cinny
4 年之前
Slavi Pantaleev
61391647e9
Make /.well-known/matrix/client and /.well-known/matrix/server customizable
We recently had someone need to inject additional configuration into
`/.well-known/matrix/client` as described here:
22b245bbd1/docs/bigbluebutton.md (have-dimension-create-meetings-with-elements-video-call-button)
There may be other use cases as well.
4 年之前
boris runakov
d3a9ec98de
refactoring
4 年之前
boris runakov
1ec67f49b0
replaced 8008 where possible
4 年之前
IUCCA
adf2dc13b3
Update main.yml
4 年之前
iucca
ae122466fc
updated whatsapp config
4 年之前
iucca
1d0e594def
updated whatsapp config, backfill doesn't work
4 年之前
Slavi Pantaleev
b4b14539a7
Use ntp (instead of systemd-timesyncd) on Ubuntu 18.04
Seems like Ubuntu 18.04 does not have a dedicated `systemd-timesyncd` package, nor
does it include the `systemd-timesyncd` binary in the main `systemd` package.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1302
Regression since https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1192
4 年之前