Matt Cengia
fede58fe96
Correctly tag self-built ma1sd Docker image
4 years ago
Matt Cengia
b0e984136f
Fix issues building ma1sd Docker image
...
The tag format used in the `ma1sd` repo have change. Versions no longer
start with 'v', and when building for non-amd64, we also need to strip
off the '-$arch' bit from the Docker image name.
Further, when building the .jar file, `ma1sd` currently names the .jar
based on the project's directory, which we call 'docker-src'. This means
other parts of the `ma1sd` build can't find the .jar file. Remedy this
by ensuring that the dir is called `docker-src/ma1sd`.
4 years ago
shadow
6293f1bdb0
Run all API self checks in check_mode
4 years ago
Slavi Pantaleev
635f385971
Use pre-built arm64 image for ma1sd
...
ma1sd 2.4.0 announced experimental support for arm64.
We're making use of those arm64 images instead of self-building.
4 years ago
teutat3s
4cf59098ad
Update ma1sd to v2.4.0
4 years ago
Slavi Pantaleev
5da31ba579
Move configuration templates outside of defaults/main.yml files
5 years ago
Chris van Dijk
6334f6c1ea
Remove hardcoded command paths in systemd unit files
...
Depending on the distro, common commands like sleep and chown may either
be located in /bin or /usr/bin.
Systemd added path lookup to ExecStart in v239, allowing only the
command name to be put in unit files and not the full path as
historically required. At least Ubuntu 18.04 LTS is however still on
v237 so we should maintain portability for a while longer.
5 years ago
Slavi Pantaleev
a3259bbd77
Add |to_json to some variables
5 years ago
louis
a03e95b7eb
enable by default v2 api prefix for ma1sd
5 years ago
Chris van Dijk
7585bcc4ac
Allow the matrix user username and groupname to be configured separately
...
No migration steps should be required.
5 years ago
Slavi Pantaleev
5927ed56b0
Fix matrix_ma1sd_service_stat.stat.exists sometimes being undefined
5 years ago
Slavi Pantaleev
c3efd2966f
Fix mxisd -> ma1sd migration for older versions of Ansible
5 years ago
Slavi Pantaleev
a0b82d2234
Fix mxisd -> ma1sd data migration (mxisd.db -> ma1sd.db)
5 years ago
Slavi Pantaleev
a4ea2f850b
Provide a friendlier migration message from people using matrix_mxisd_ variables
5 years ago
Slavi Pantaleev
be19511338
Add missing container self-build variables for ma1sd
5 years ago
Slavi Pantaleev
59ccff9bab
Fix mxisd -> ma1sd file copying
...
When the playbook executes on a remote host (as it usually does),
we need to explicitly say `src` is a remote file and not relative
to the playbook.
5 years ago
Marcel Partap
4172345d34
Fix regex matching against old variable names in ma1sd validation task
5 years ago
Marcel Partap
e4ceeccd14
Add mxisd => ma1sd migration task
5 years ago
Marcel Partap
92672f8949
matrix-ma1sd/tasks/validate_config.yml: can ansible process regex in when statements?
5 years ago
Marcel Partap
ed34d0ac39
fix "noeol" ("No newline at end of file" == missing 0A byte at file end)
5 years ago
Marcel Partap
c2d384d2ef
some more mxisd to ma1sd string/URL replacements
5 years ago
Marcel Partap
8c5c2e5eec
Bump ma1sd version to 2.3.0
5 years ago
Marcel Partap
9d0803cdf9
Specify up-to-date version 2.2.2 of ma1sd docker image
5 years ago
Marcel Partap
187dedf920
Duplicate matrix-mxisd role for matrix-ma1sd fork
...
(adapting strings and URLs)
5 years ago