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