Commit graph

406 commits

Author SHA1 Message Date
Emmanouil Kampitakis
0ed349a672 Make the registration secret mandatory
Idempotence is not possible when the secret
is being generated on every run
2019-02-17 21:57:26 +01:00
Emmanouil Kampitakis
b0cdeac8e6 Media storage and uploads path are being extracted from configuration file 2019-02-17 21:53:53 +01:00
Emmanouil Kampitakis
f2762e811f Homogenise configuration 2019-02-17 21:53:05 +01:00
Emmanouil Kampitakis
c8e2ef5350 DH parameters are only needed in case of TLS 2019-02-17 21:52:36 +01:00
Emmanouil Kampitakis
15dc5d49a2 Extract skip tls from configuration 2019-02-17 21:52:15 +01:00
Emmanouil Kampitakis
894b7ff906 Retireve the Certificate and Key paths from the configs 2019-02-17 21:10:35 +01:00
Emmanouil Kampitakis
09dd4aed23
Merge pull request #1 from jcgruenhage/master
fix matrix_synapse_extra_config
2019-02-16 13:33:44 +01:00
Jan Christian Grünhage
cf4a70a5c2 fix matrix_synapse_extra_config 2019-02-16 11:25:04 +01:00
Emmanouil Kampitakis
6a256ab200 Merge branch 'feature/add-test-capabilities-with-vagrant' 2019-02-15 03:31:56 +01:00
Emmanouil Kampitakis
5261672701 Merge branch 'feature/fix-synapse-configuration' 2019-02-15 03:27:57 +01:00
Emmanouil Kampitakis
737b03496c Fix variables file 2019-02-15 03:27:08 +01:00
Emmanouil Kampitakis
f2ca9d60f1 Add capabilities to test with vagrant 2019-02-15 03:24:30 +01:00
Emmanouil Kampitakis
fc3ecf8cbd Add the testroles directory 2019-02-15 03:14:21 +01:00
Emmanouil Kampitakis
783fe6b55d Add gitignore file 2019-02-15 03:13:31 +01:00
Emmanouil Kampitakis
3f1f0bdfb1 Fix indentation error 2019-02-15 03:11:09 +01:00
Emmanouil Kampitakis
26d24ed2ad Become synapse no longer needed 2019-02-15 03:10:56 +01:00
Emmanouil Kampitakis
6d4c34ef78 Extract signing key creation to module 2019-02-15 03:10:38 +01:00
Emmanouil Kampitakis
b397a278a6 Use copy instead of file 2019-02-15 03:09:11 +01:00
Emmanouil Kampitakis
34cf5e9faf Notify the correct handler 2019-02-15 03:08:08 +01:00
Emmanouil Kampitakis
da3267c30f Generate the password locally 2019-02-15 03:07:28 +01:00
Emmanouil Kampitakis
6d04100c19 Retrieve paths to be created from the matrix config 2019-02-15 03:07:03 +01:00
Emmanouil Kampitakis
66646427d5 Remove unnesessary variables 2019-02-15 03:06:16 +01:00
Emmanouil Kampitakis
1b9cb5d673 Use tls in place of ssl 2019-02-15 00:25:41 +01:00
Emmanouil Kampitakis
8839b46fa1 Use the new variable format to generate the configuration file 2019-02-15 00:25:14 +01:00
Emmanouil Kampitakis
82dd346b1b Adjust variable definitions 2019-02-15 00:24:21 +01:00
Emmanouil Kampitakis
34ce08a032 Expand todo 2019-02-14 23:58:14 +01:00
Emmanouil Kampitakis
60fcda6f31 Add test skeleton 2019-02-12 03:16:03 +01:00
Emmanouil Kampitakis
a379238dc6 Remove obsolete template 2019-02-12 03:15:21 +01:00
Emmanouil Kampitakis
7028d8373b Start fixing variables, paths and defaults
Still WIP
2019-02-12 03:14:30 +01:00
Emmanouil Kampitakis
7635784748 Write the tls certificate and private key to a file 2019-02-12 02:58:16 +01:00
Emmanouil Kampitakis
7b8a5b1506 Finish the first draft of the configuration variable 2019-02-12 02:45:09 +01:00
Emmanouil Kampitakis
6a242309f1 Generate the registration secret 2019-02-12 02:43:26 +01:00
Emmanouil Kampitakis
427c6483be Rename ssl.yml to crypto.yml 2019-02-12 02:42:05 +01:00
Emmanouil Kampitakis
2e8e812082 Add todo file 2019-02-12 02:42:05 +01:00
Emmanouil Kampitakis
3d2e245953 Remove unused template 2019-02-12 02:32:44 +01:00
Emmanouil Kampitakis
731b6b6266 First draft of synapse configuration
Configuration is now described in a variable. This reduces the amount of
documentation needed in the role and allows for a better upstream
compatibility
2019-02-12 02:30:50 +01:00
Emmanouil Kampitakis
043a070d11 Define a yaml file to configure synapse rather than templating it 2019-02-12 01:36:57 +01:00
Emmanouil Kampitakis
05b5c5e356 Bump synapse version 2019-02-11 23:10:39 +01:00
Emmanouil Kampitakis
84248ad23c Fix markdown syling 2019-02-11 22:37:32 +01:00
Emmanouil Kampitakis
752f1691a2 Remove signing key creation from configuration 2018-12-03 23:29:54 +01:00
Emmanouil Kampitakis
5d6ca954e6 Correct letsencrypt in the description 2018-12-03 23:29:19 +01:00
Emmanouil Kampitakis
dc85581dfa Use the builtin openssl dhparam module instead of the openssl command 2018-12-03 23:28:55 +01:00
Emmanouil Kampitakis
76b0223b7e Remove letsencrypt hooks 2018-12-03 23:27:35 +01:00
Emmanouil Kampitakis
03c2c3431b Add a sensible readme file 2018-12-02 23:58:30 +01:00
Emmanouil Kampitakis
9a0f1542a0 Static files should not be used as templates 2018-12-02 23:46:46 +01:00
Emmanouil Kampitakis
629da252e6 Add ansible_managed header to the templates 2018-12-02 23:40:41 +01:00
Emmanouil Kampitakis
cd1eb9e4d0 letsencrypt ain't that of a good name 2018-12-02 23:30:23 +01:00
Emmanouil Kampitakis
6105d69c7b Improve python shell call 2018-12-02 23:25:50 +01:00
Emmanouil Kampitakis
682b55e797 Extract letsencrypt operations to a separate play 2018-12-02 23:25:20 +01:00
Emmanouil Kampitakis
3240f5df73 Consolidate directory creation to a single loop 2018-12-02 23:16:49 +01:00