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
Slavi Pantaleev
2e16257e50
Do not ask for _matrix._tcp SRV records anymore
...
With most people on Synapse v0.99+ and Synapse v1.0 now available,
we should no longer try to be backward compatible with Synapse 0.34,
because this just complicates the instructions for no good reason.
6 years ago
Dan Arnfield
3982f114af
Fix CONDITIONAL_BARE_VARS deprecation warning in ansible 2.8
6 years ago
Stuart Mumford
a4bcd7ce8f
Add a variable to control the stop tasks
6 years ago
Hugues De Keyzer
c451025134
Fix indentation in templates
...
Use Jinja2 lstrip_blocks option in templates to ensure consistent
indentation in generated files.
6 years ago
Lyubomir Popov
a206b65ed7
Use the '-p' non-interactive option to generate password hash instead of 'expect'
6 years ago
Lyubomir Popov
134faa3139
Add the ability to update user passwords with ansible (when using the matrix-postgres container).
6 years ago
Hugues De Keyzer
1e344d5a7a
Remove hardcoded values in matrix-remove-all
...
Use matrix_docker_network and matrix_base_data_path in matrix-remove-all
instead of hardcoded default values.
6 years ago
Slavi Pantaleev
af1c9ae59d
Do not force firewalld on people
...
In most cases, there's not really a need to touch the system
firewall, as Docker manages iptables by itself
(see https://docs.docker.com/network/iptables/ ).
All ports exposed by Docker containers are automatically whitelisted
in iptables and wired to the correct container.
This made installing firewalld and whitelisting ports pointless,
as far as this playbook's services are concerned.
People that wish to install firewalld (for other reasons), can do so
manually from now on.
This is inspired by and fixes #97 (Github Issue).
6 years ago
Slavi Pantaleev
9202b2b8d9
Ensure systemd services are running when doing --tags=start
...
Fixes #129 (Github Issue).
Unfortunately, we rely on `service_facts`, which is only available
in Ansible >= 2.5.
There's little reason to stick to an old version such as Ansible 2.4:
- some time has passed since we've raised version requirements - it's
time to move into the future (a little bit)
- we've recently (in 82b4640072
) improved the way one can run
Ansible in a Docker container
From now on, Ansible >= 2.5 is required.
6 years ago
Slavi Pantaleev
6c5cc173b0
Fix permission mode for some files
6 years ago
Edgars Voroboks
9735a2f600
Implement self-hosted Dimension server
6 years ago
Slavi Pantaleev
a43bcd81fe
Rename some variables
6 years ago
Slavi Pantaleev
639fc0bb5c
Treat empty string dig lookup responses as "missing record"
6 years ago
Slavi Pantaleev
eb08e20418
Upgrade Synapse (0.99.0 -> 0.99.1) and sync config
...
`matrix_synapse_no_tls` is now implicit, so we've gotten rid of it.
The `homeserver.yaml.j2` template has been synchronized with the
configuration generated by Synapse v0.99.1 (some new options
are present, etc.)
6 years ago
Slavi Pantaleev
764a040a90
Make /.well-known/matrix/server optional
...
People who wish to rely on SRV records can prevent
the `/.well-known/matrix/server` file from being generated
(and thus, served.. which causes trouble).
6 years ago
Slavi Pantaleev
f6ebd4ce62
Initial work on Synapse 0.99/1.0 preparation
6 years ago
Slavi Pantaleev
897cfbdcba
Fix /.well-known/matrix/client installation
...
Regression since 51312b82
6 years ago