Chris van Dijk
74df10633a
Remove hardcoded command paths in playbook cron usage
5 years ago
Chris van Dijk
6e3b877dc2
Remove hardcoded command paths in playbook shell usage
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
Dan Arnfield
787f12e70d
Fix typo in validation
5 years ago
Slavi Pantaleev
c1c8b8e62c
Warn about matrix_user_uid/matrix_user_gid
...
We don't really need to fail in such a spectactular way,
but it's probably good to do. It will only happen for people
who are defining their own user/group id, which is rare.
It seems like a good idea to tell them that this doesn't work
as they expect anymore and to ask them to remove these variables,
which otherwise give them a fake sense of hope.
Related to #486 (Github Pull Request).
5 years ago
Slavi Pantaleev
36c61b5b4e
Introduce a separate group variable (matrix_user_groupname)
...
Related to #485 (Github Pull Request).
5 years ago
Slavi Pantaleev
ccc7aaf0ce
Fix "Migrating to a new server" flow due to dynamic user/group creation
5 years ago
Slavi Pantaleev
8fea6f5130
Make sure matrix_user_uid and matrix_user_gid are always set
...
If one runs the playbook with `--tags=setup-all`, it would have been
fine.
But running with a specific tag (e.g. `--tags=setup-riot-web`) would
have made that initialization be skipped, and the `matrix-riot-web` role
would fail, due to missing variables.
5 years ago
Fanch
a1c5a197a9
remove default UID/GID
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
9a43cc02e0
Only install docker-python if matrix_docker_installation_enabled
...
Should help with #300 (Github Issue).
5 years ago
Slavi Pantaleev
7035af87d8
Add support for Jitsi discovery for Riot via /.well-known/matrix/client
...
This will not work yet, as no version of Riot currently supports it.
It's expected to land in riot-web v1.5.16 via matrix-org/matrix-react-sdk#4348 .
5 years ago
Alin Trăistaru
604e581a97
add ntpd defaults
5 years ago
Marcel Partap
874e2e1fc0
Rename variables (s/mxisd/ma1sd/) and adapt roles
5 years ago
Slavi Pantaleev
26b73e3a4b
Do not install unnecessary bash-completion
5 years ago
Christian Wolf
8c9b5ea6dd
Removed a few syntax bugs in Archlinux configuration
5 years ago
Christian Wolf
4bc73ff4bb
Removed autoinstallation of cron due to documentation
5 years ago
Christian Wolf
d84b2868b7
Added basic changes to make it compatible with Archlinux
5 years ago
mooomooo
eebc6e13f8
Made directory variables for /etc/systemd/system , /etc/cron.d , /usr/local/bin
5 years ago
Slavi Pantaleev
cdd9ee1962
Add Jitsi support
5 years ago
Horvath Gergely
2d537484d5
introduce variable
5 years ago
Horvath Gergely
3c8535c3bc
check ansible version for self-building in every role
5 years ago
Horvath Gergely
6232a81caf
check if target distro is Raspbian and install docker accordingly
5 years ago
Horvath Gergely
310aa685f9
refactor based on Slavi's requests
5 years ago
Horvath Gergely
610c98d6ab
add riot-web support for raspberry pi
5 years ago
Horvath Gergely
40d0fea06c
add mautrix-hangouts support for raspberry pi
5 years ago
Horvath Gergely
f28c7b71d2
build mxisd for rapsberry pi
5 years ago
Horvath Gergely
8c1e00a6cd
add mautrix-facebook support for raspberry pi
5 years ago
Horvath Gergely
7c4a86bc6b
add coturn support for raspberry pi
5 years ago
Horvath Gergely
a096eafb45
add possibility to install synapse on raspberry pi
5 years ago
Horvath Gergely
8a0c3146d3
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
dhose
320d512541
Fix for when if case evaluates to false
5 years ago
Dan Arnfield
bc620895ca
Install python3-docker if ansible is running python 3
5 years ago
Gergely Horváth
1c314fcf29
first version of raspbian docker setup
5 years ago
Gergely Horváth
05966c8cff
make sure Raspbian is not handled the same as Debian
5 years ago
Aaron Raimist
2ea507e2ea
Don't make it Dimension specific
5 years ago
Aaron Raimist
fe932273aa
Implement MSC1957: Integration manager discovery
...
https://github.com/matrix-org/matrix-doc/pull/1957
Yay Riot iOS now supports integration manager discovery!
5 years ago
Slavi Pantaleev
4cc6cdf6f3
Merge pull request #314 from aaronraimist/well-known-client-no-identity
...
Remove identity server section from .well-known/matrix/client if there is no identity server
5 years ago
Aaron Raimist
9ab68a3cb4
Remove identity server section from .well-known/matrix/client if there is no identity server
...
Riot used to be fine with it being blank but now it complains. This creates an ugly looking comma when there is an identity server configured but I guess that's fine.
5 years ago
Slavi Pantaleev
f348370f15
Remove unnecessary update_cache directive / Debian
...
We've just updated it in the task above, so it's unnecessary
5 years ago
Slavi Pantaleev
c88c0e7e87
Remove unnecessary update_cache directive / CentOS
...
We've just updated it in the task above, so it's unnecessary
5 years ago
Dan Arnfield
960088752c
Add matrix_docker_package_name
5 years ago
Dan Arnfield
80cfb2a93e
Add matrix_docker_installation_enabled
5 years ago
Dan Arnfield
3cec6947ed
Refactor base server setup tasks
5 years ago
Hardy Erlinger
eb7391d373
Fix: Restrict a Debian-specific task to Debian OS.
...
Since commit b9753635
the task 'Ensure docker-ce is installed (Debian)' fails with an error on CentOS although it should not even run on this OS.
5 years ago
Dan Arnfield
b975363530
Don't install docker-ce if docker.io is installed
5 years ago
gusttt
25262fa0e1
Disable docker network tasks in check mode to allow running the playbook in check mode (--check --diff)
5 years ago
Dan Arnfield
de6c1c99b2
Fix apt message: docker doesn't support arch 'i386'
5 years ago
Slavi Pantaleev
0ca21d80d7
Add Synapse Maintenance docs and synapse-janitor integration
5 years ago
Slavi Pantaleev
631a14bf0c
Rename run control variables for consistency
5 years ago