Commit graph

44 commits

Author SHA1 Message Date
Emmanouil Kampitakis
1e5fe9e397 Dynamic fact setting works now
Still hacky as hell
2019-05-24 21:28:32 +02:00
Emmanouil Kampitakis
bb08a954b1 Circumvent the fact that register is not templatable 2019-05-24 16:42:48 +02:00
Emmanouil Kampitakis
cf599530c1 Notify restart handler when synapse is installed 2019-04-09 00:30:30 +02:00
Jan Christian Grünhage
c0ae9920d8 make log dir configurable 2019-03-24 16:51:22 +01:00
Emmanouil Kampitakis
b79148e241 Use apropriate python version according to selected preference 2019-03-15 00:23:18 +01:00
Emmanouil Kampitakis
d5200f1122 Fix #7: make python version configurable
Introduced a variable that allows the python version to be configured
Default is python3

Vagrant check are ok ✓
2019-03-14 20:58:56 +01:00
Emmanouil Kampitakis
3dc8f51ff7 Use matrix base path in task files 2019-02-21 23:17:57 +01:00
Emmanouil Kampitakis
82e1d23527 Template the systemd file 2019-02-21 23:16:22 +01:00
Emmanouil Kampitakis
06f4d465bc Merge branch 'master' into feature/private-key-creation-idempotence 2019-02-21 01:43:50 +01:00
Emmanouil Kampitakis
036873063c Generate the necessary secrets if they do not exist 2019-02-21 01:29:45 +01:00
Emmanouil Kampitakis
9a85f32686 Make the linter happy 2019-02-18 00:47:45 +01:00
Emmanouil Kampitakis
71c4f3b2a4 Make the ansible linter happy
remove trailing whitespaces
2019-02-18 00:27:45 +01:00
Emmanouil Kampitakis
8f4f26bcb4 Merge branch 'master' into docker 2019-02-17 22:53:27 +01:00
Jan Christian Grünhage
b5f805f22c support deployment through docker instead of directly onto the host 2019-02-17 22:46:27 +01:00
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
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
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
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
7635784748 Write the tls certificate and private key to a file 2019-02-12 02:58:16 +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
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
9a0f1542a0 Static files should not be used as templates 2018-12-02 23:46:46 +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
Emmanouil Kampitakis
72cd8744c2 Extract logging configuration to separate play 2018-12-02 23:13:41 +01:00
Emmanouil Kampitakis
6fcef77b3b Increase installation speed
apt is no longer called for every package
2018-12-02 23:10:29 +01:00
Jan Christian Grünhage
058665e36b
rotate logs 2018-08-17 16:22:08 +02:00
Michael Kaye
33609b4076 Add a pre_install tag for operations that are generic 2018-08-17 14:40:32 +01:00
Jan Christian Grünhage
b424f60e75 moved role out of matrix-ansible 2018-07-30 16:56:33 +02:00