ikkemaniac
45c9c2b17a
convert shell to command usage
3 vuotta sitten
ikkemaniac
2b049da963
move when clause per linting suggestion
3 vuotta sitten
ikkemaniac
39e6484956
fix lints
3 vuotta sitten
ikkemaniac
15fbc525cf
Typo
3 vuotta sitten
ikkemaniac
fd25cf8f54
Update wording
3 vuotta sitten
ikkemaniac
3d902b7fe7
be more specific on GIT not found error
3 vuotta sitten
ikkemaniac
930867d50d
Remove matrix_vars_yml_snapshotting_enabled condition
3 vuotta sitten
ikkemaniac
230eea6784
Save git_hash.yml only on the target
3 vuotta sitten
ikkemaniac
678dfc6dc3
Rename var
3 vuotta sitten
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 vuotta sitten
Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3 vuotta sitten
Slavi Pantaleev
cb2fecbea9
Fix some ansible-lint-reported warnings
3 vuotta sitten
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
3 vuotta sitten
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
3 vuotta sitten
Shaleen Jain
f674afe5e8
appservice: add and use homeserver_container_* vars ( #2045 )
* appservice: add and use matrix_homeserver_* vars
* appservice: use the new vars
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
3 vuotta sitten
Charles Wright
20767b5149
Fixes to enable Conduit in setup-all
4 vuotta sitten
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.
4 vuotta sitten
Slavi Pantaleev
211ff20891
Fix package-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#package-latest
4 vuotta sitten
Slavi Pantaleev
318bfa84d5
Fix spacing around filter invocations
4 vuotta sitten
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
4 vuotta sitten
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
4 vuotta sitten
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 vuotta sitten
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
4 vuotta sitten
Slavi Pantaleev
c9e30708be
Fix double-quoting in /.well-known/matrix/support
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
`|to_json` already adds the surrounding double-quotes for the string, so
adding them explicitly means we've got a double-quotes problem.
4 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Slavi Pantaleev
e94ec75e1a
Remove matrix-bridge-mx-puppet-skype role
4 vuotta sitten
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.
4 vuotta sitten
Aine
23ed70a6bb
fix typo
4 vuotta sitten
Slavi Pantaleev
e27ecd6e76
Add matrix_admin example
4 vuotta sitten
Aine
44f2234c99
define matrix_admin in matrix-base
4 vuotta sitten
Aine
290754371a
add matrix-bot-buscarron
4 vuotta sitten
Aine
502ea21fba
add retires to all get_url actions
4 vuotta sitten
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
4 vuotta sitten
Aine
1c1b705b22
fix typo
4 vuotta sitten
Aine
701591e87e
Added retries to the docker pulls
4 vuotta sitten
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 vuotta sitten
Slavi Pantaleev
e2e5db3b89
Do not use misleading with_items for a single file
4 vuotta sitten
Slavi Pantaleev
6c47b447e3
Do not use misleading with_items for a single file
4 vuotta sitten
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 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 vuotta sitten
Wm Salt Hale
88b832a818
updated task names leftover from template used
4 vuotta sitten
Wm Salt Hale
3aa8c1f62c
only enable openssl if necessary
4 vuotta sitten
Slavi Pantaleev
4e4fb98a65
Do not install fuse unless necessary
Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1510
4 vuotta sitten
Slavi Pantaleev
0f59c4056e
Set up well-known when invoked with the setup-dendrite tag
4 vuotta sitten
Slavi Pantaleev
139c574cdb
Move checks from unused validate_config.yml file elsewhere
4 vuotta sitten
Slavi Pantaleev
05b4572fab
Fix matrix_dimension_homeserver_federationUrl for Dendrite
4 vuotta sitten
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 vuotta sitten