Commit Graph

1921 Commits

Author SHA1 Message Date
Kevin Lanni
89deb1b195
Add note about ask-become-pass
This flag is necessary for Ansible to ask for the sudo password when using the non-root option as documented in the `hosts` file. Otherwise, Ansible errors out with `missing sudo password`.
2020-05-09 11:04:49 -07:00
Slavi Pantaleev
1a766afcf2
Merge pull request #491 from thedanbob/fix-typo
Fix typo in validation
2020-05-08 23:11:21 +03:00
Dan Arnfield
787f12e70d Fix typo in validation 2020-05-08 13:56:31 -05:00
Slavi Pantaleev
dd527d5968 Ensure correct dimension.db file ownership
This is mostly here to guard against problems happening
due to server migration and doing `chown -R matrix:matrix /matrix`.

Normally, the file is owned by `1000:1000`, as expected.

If ownership changes, Dimension could still start, but it will fail the
first time it tries to write to the database. Explicitly chowning
before startup guards against this.

Related to #485 and #486 (Github Pull Requests).
Also related to ccc7aaf0ce.
2020-05-06 11:28:09 +03:00
Slavi Pantaleev
ae1b1be3f4 Do not use matrix:matrix for Dimension configuration
Dimension runs as the `node` user in the container (`1000:1000`).
It doesn't seem like we have a way around it. Thus, its configuration
must also be readable by that user (or group, in this case).
2020-05-06 11:20:14 +03:00
Slavi Pantaleev
884df93be1 Make it clearer that Dimension requires a dedicated user 2020-05-06 10:30:36 +03:00
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).
2020-05-06 10:17:19 +03:00
Slavi Pantaleev
36c61b5b4e Introduce a separate group variable (matrix_user_groupname)
Related to #485 (Github Pull Request).
2020-05-06 10:02:47 +03:00
Slavi Pantaleev
ccc7aaf0ce Fix "Migrating to a new server" flow due to dynamic user/group creation 2020-05-06 09:55:40 +03:00
Slavi Pantaleev
6032affc20
Merge pull request #486 from FanchTheSystem/avoid_fixed_uid_and_gid
Remove default UID/GID
2020-05-06 09:46:49 +03:00
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.
2020-05-06 09:43:30 +03:00
Slavi Pantaleev
7b8d0cd1ab
Merge pull request #487 from christianlupus/turn-doc
Added a documentation enhancement regarding external TURN server
2020-05-06 09:35:11 +03:00
Slavi Pantaleev
4359571d38 Upgrade riot-web to v1.6.0 2020-05-05 14:02:14 +03:00
Christian Wolf
658e3361f6 Added a documentation enhancement regarding external TURN server 2020-05-05 08:42:14 +02:00
Slavi Pantaleev
7c4bc02070
Merge pull request #484 from cnvandijk/docs-dimension-admin-domain
Clarify domain of Dimension admin users in docs by using matrix_domain variable
2020-05-05 09:37:44 +03:00
Fanch
a1c5a197a9 remove default UID/GID 2020-05-04 21:43:54 +02:00
Chris van Dijk
f7fcf3590a Clarify domain of Dimension admin users in docs by using matrix_domain variable 2020-05-04 17:34:23 +02:00
Slavi Pantaleev
263e2a28da
Merge pull request #483 from thedanbob/coturn-4.5.1.2
Update coturn (4.5.1.1 -> 4.5.1.2)
2020-05-04 17:55:21 +03:00
Dan Arnfield
e750c6c6ff Update coturn (4.5.1.1 -> 4.5.1.2) 2020-05-04 09:46:45 -05:00
Slavi Pantaleev
9828c80f3f
Merge pull request #481 from hooger/changes
fix skype bridge being rebuilt when upstream changed
2020-05-02 10:50:53 +03:00
Horvath Gergely
d6266a8c47 fix skype bridge being rebuilt when upstream changed 2020-05-01 21:34:42 +02:00
Chris van Dijk
7585bcc4ac Allow the matrix user username and groupname to be configured separately
No migration steps should be required.
2020-05-01 19:59:32 +02:00
Chris van Dijk
cf0e56e92b Consistent usage of matrix username and groupname, not uid and gid
This should be a no-op, no migration necessary.
2020-05-01 19:39:17 +02:00
Chris van Dijk
741064a178 Fix group ownership of Dimension base path and config
Ansible will migrate the ownership of the base path and config path, but
manual intervention will be required in order to migrate the ownership
of files in those directories (i.e. dimension.db).

Stop the services:

  (local)$ ansible-playbook -i inventory/hosts setup.yml --tags=stop

Fix the permissions on the server:

  (server)# chown -Rv "{{ matrix_user_username }}:{{ matrix_user_username }}" "{{ matrix_dimension_base_path }}"

which would typically look like:

  (server)# chown -Rv matrix:matrix /matrix/dimension/

Reconfigure Dimension and start the services:

  (local)$ ansible-playbook -i inventory/hosts setup.yml --tags=setup-dimension,start
2020-05-01 19:28:30 +02:00
Slavi Pantaleev
20c605554d
Merge pull request #480 from andresterba/caddy1-reverse-proxy
Add caddy 1 well-known example
2020-05-01 17:43:41 +03:00
André Sterba
966b74e74f Add caddy 1 well-known example
Adjust params
2020-05-01 14:43:31 +02:00
Slavi Pantaleev
0029b37b96 Improve Usage section of Jitsi docs page 2020-04-30 10:24:26 +03:00
Slavi Pantaleev
e59cf25d7d
Merge pull request #479 from cnvandijk/docs-dimension-jitsi
Document how to point dimension jitsi widgets at your own jitsi instance
2020-04-30 10:14:53 +03:00
Slavi Pantaleev
77c760ac7d
Add some links 2020-04-30 10:14:46 +03:00
Slavi Pantaleev
0e26810162
Merge pull request #478 from cnvandijk/feature-jitsi-ldap-auth
Add support for Jitsi LDAP authentication
2020-04-30 10:09:48 +03:00
Chris van Dijk
a0ce5eec64 Document how to point dimension jitsi widgets at your own jitsi instance
This can be removed once turt2live/matrix-dimension#345 is resolved.
2020-04-29 19:12:07 +02:00
Chris van Dijk
32ce9866e9 Update documentation for Jitsi LDAP authentication support 2020-04-29 17:58:56 +02:00
Chris van Dijk
9d6614e80f Add support for Jitsi LDAP authentication 2020-04-29 17:57:38 +02:00
Slavi Pantaleev
37b80d0c75 Fix example policy provider configuration for matrix-corporal
Fixes the example, to add the missing required configuration key
for the HTTP policy provider.

Related to #477 (Github Issue).
2020-04-29 17:24:21 +03:00
Slavi Pantaleev
da90988f0c
Merge pull request #476 from jgoerzen/master
Update matrix-appservice-irc to 0.16.0
2020-04-29 09:29:17 +03:00
Slavi Pantaleev
669780976f
Update mappings configuration example 2020-04-29 09:29:03 +03:00
John Goerzen
a2df0016eb Update matrix-appservice-irc to 0.16.0
Note the potential breaking change

Resolves #474
2020-04-28 11:43:52 -05:00
GuillauG
29f606bac7
Add 'permalinkPrefix' and 'default_theme' for configuring riot web (#472)
* add permalinkPrefix to riot-web config

* add feature to change default theme of riot-web via its config file

* remove matrix_riot_web_change_default_theme and provide sane default
2020-04-28 13:10:33 +03:00
Slavi Pantaleev
8aabda88cb
Merge pull request #473 from bnounours/master
Add information to make jitsi work with a client in LAN
2020-04-28 08:12:30 +03:00
Slavi Pantaleev
6adfc76278
Merge pull request #475 from teutat3s/jitsi_4416_update
Update Jitsi docker images to stable 4416
2020-04-28 08:11:26 +03:00
teutat3s
37d427c05c
Update Jitsi docker images to stable 4416 2020-04-28 03:52:43 +02:00
Mickaël Cornière
e4f1f2c754 Add information to make jitsi work with a client in LAN 2020-04-27 23:40:46 +02:00
Slavi Pantaleev
438652c732 Switch Slack image to a working tag
We've had reports of the `:latest` tag not working anymore,
leading to an error as described here:
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/341
2020-04-27 10:49:06 +03:00
Slavi Pantaleev
9cc0c5955d Use |quote in some command calls 2020-04-24 09:59:30 +03:00
Slavi Pantaleev
8cdf3a24f9 Fix variable name typo 2020-04-23 22:13:50 +03:00
Slavi Pantaleev
df2cc4322c
Merge pull request #468 from aaronraimist/synapse-1.12.4
Upgrade Synapse (1.12.3 -> 1.12.4)
2020-04-23 21:59:12 +03:00
Aaron Raimist
23bfaa72ec
Upgrade Synapse (1.12.3 -> 1.12.4) 2020-04-23 13:30:50 -05:00
Slavi Pantaleev
4afc46fffe Announce mx-puppet-slack support
Related to #454 (Github Pull Request).
2020-04-23 18:03:36 +03:00
Slavi Pantaleev
addeac27d8
Merge pull request #454 from Jozian/add-mx-puppet-slack-role
Initial mx-puppet-slack bridge role
2020-04-23 18:00:51 +03:00
Rodrigo Belem
033dfcb26f Remove duplicated whitelist entry in skype main.yml 2020-04-23 09:06:08 -04:00