themadprogramer
495dea194b
Merge attempt
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年前
Slavi Pantaleev
8a609e5cf2
Fix some ansible-lint-reported errors
3年前
ikkemaniac
3a49b0077c
fix ansible-lint errors
3年前
ikkemaniac
93615b6ad9
Revert "convert shell to command usage" to allow for a catching the specific "git: not found" error.
This reverts commit 45c9c2b17a .
3年前
ikkemaniac
45c9c2b17a
convert shell to command usage
3年前
ikkemaniac
2b049da963
move when clause per linting suggestion
3年前
ikkemaniac
39e6484956
fix lints
3年前
ikkemaniac
fd25cf8f54
Update wording
3年前
ikkemaniac
3d902b7fe7
be more specific on GIT not found error
3年前
ikkemaniac
930867d50d
Remove matrix_vars_yml_snapshotting_enabled condition
3年前
ikkemaniac
230eea6784
Save git_hash.yml only on the target
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.
4年前
Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3年前
Slavi Pantaleev
cb2fecbea9
Fix some ansible-lint-reported warnings
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
211ff20891
Fix package-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#package-latest
4年前
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
4年前
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
4年前
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
4年前
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
4年前
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
4年前
Slavi Pantaleev
e94ec75e1a
Remove matrix-bridge-mx-puppet-skype role
4年前
Slavi Pantaleev
e2e5db3b89
Do not use misleading with_items for a single file
4年前
Slavi Pantaleev
6c47b447e3
Do not use misleading with_items for a single file
4年前
Wunderharke
a24f7626bd
7330992b20 fixed the major_version compare and made foedora deployments to use setup_redhat8.yml. This however broke the script on fedora as there is no EPEL package. This commit add very basic fedora support.
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年前
Wm Salt Hale
88b832a818
updated task names leftover from template used
4年前
Wm Salt Hale
3aa8c1f62c
only enable openssl if necessary
4年前
Slavi Pantaleev
4e4fb98a65
Do not install fuse unless necessary
Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1510
4年前
Slavi Pantaleev
0f59c4056e
Set up well-known when invoked with the setup-dendrite tag
4年前
Slavi Pantaleev
139c574cdb
Move checks from unused validate_config.yml file elsewhere
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
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年前
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年前
Jan
0ed585baa7
Archlinux: remove package systemd-timesyncd
#1192 lead to the following error for me on Archlinux:
`TASK [matrix-base : Install host dependencies] *******************************************************************************************************************************
fatal: [matrix.***.de]: FAILED! => changed=false
msg: |-
failed to install systemd-timesyncd: error: target not found: systemd-timesyncd`
There is no package called `systemd-timesyncd` on Archlinux. The service is installed with the [`systemd`](https://archlinux.org/packages/core/x86_64/systemd/ ) package itself.
I suggest removing the `systemd-timesyncd` from 2453876eb9/roles/matrix-base/tasks/server_base/setup_archlinux.yml (L7)
4年前
sakkiii
087a5d62f1
systemd-timesyncd for any archlinux version
4年前
Dan Arnfield
df82ec13b2
docker-ce is now available for Debian Bullseye
4年前
Michael Collins
98e6cd685d
sync with previous repo
4年前
Blaž Tomažič
72bc9b5cfc
Add support for CentOS (Stream) 8
5年前
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
5年前
Aaron Raimist
3d2142f88b
Add sanity check for server architecture
5年前