Commit graph

220 commits

Author SHA1 Message Date
afd71639f4 Add vhost for tunuifranken.info 2022-03-28 16:02:40 +02:00
38d0d29481 Use variable for user in 2px apache conf 2022-03-24 20:19:13 +01:00
fbf9cedf05 Start adding gitea role 2022-03-21 15:39:06 +01:00
d403d0eef6 Add ssl conf and nft rule for certbot 2022-03-15 15:53:54 +01:00
e6c8aa3cee Move module enabling to certbot role 2022-03-15 15:31:12 +01:00
0801df2eb7 Start mariadb after installation 2022-03-15 13:35:51 +01:00
5cbd147e87 Fix small errors 2022-03-13 22:41:08 +01:00
f92b5cde57 Add fail2ban role 2022-03-13 22:31:02 +01:00
ddd4df9778 Rename 'install' roles to 'setup' roles 2022-03-13 12:52:13 +01:00
75e2821e36 Write role nftables from ee 2022-03-13 12:46:07 +01:00
fb864fb54d Add certbot renewal and nftables role 2022-03-13 11:46:24 +01:00
fd1f692b88 Add certbot apache conf 2022-03-13 11:30:35 +01:00
437be396b3 Remove useless quotes 2022-03-13 11:13:43 +01:00
0b2efffdb4 Move common inclusion to playbook 2022-03-13 10:55:09 +01:00
f72b53ba51 Redo dependency structure 2022-03-13 10:31:21 +01:00
d20e85f41f Add changed_when to vhost activation 2022-03-13 10:21:21 +01:00
83d2c1fda5 Make all roles depend on common 2022-03-13 10:15:39 +01:00
06ce1ef0f3 Merge handlers into common 2022-03-13 10:10:51 +01:00
2e2562ffa1 Add acme dir for certbot 2022-03-13 10:05:11 +01:00
af787b9254 Add handler for apache reload 2022-03-13 10:04:50 +01:00
b2a15afaee Minor changes 2022-03-13 10:04:35 +01:00
ce4f5dd8fc Comment SSL paths in vhost for now 2022-03-12 20:20:59 +01:00
c599f558fe Fix RewriteCond 2022-03-12 20:11:39 +01:00
cc7846a74c Add module ssl 2022-03-12 20:10:27 +01:00
8bc5ccf013 Fix vhost and module adding for 2px 2022-03-12 20:06:23 +01:00
f98d3dac3b Remove sourcing ssl options that are included in python3-certbot-apache 2022-03-12 19:49:25 +01:00
3220e9168d Add become 2022-03-12 19:44:24 +01:00
50f4558e42 Add role certbot 2022-03-12 19:42:26 +01:00
97c91fb3c0 Remove default vhosts 2022-03-12 19:39:45 +01:00
e14f65a3a0 Add template for 2px vHost 2022-03-12 19:36:12 +01:00
6d5c9b8c00 Fix dir creation for apache 2022-03-12 19:00:14 +01:00
8373bdbd7e Fix mysql login for mariadb-2px 2022-03-12 18:33:04 +01:00
e7246b995f Login to mysql with socket 2022-03-12 18:29:35 +01:00
ff9eb0da61 Update mariadb-install role 2022-03-12 17:51:19 +01:00
ccfebca049 Add mariadb role for 2px 2022-03-12 17:33:10 +01:00
6c1e45b77f Ignore __pycache__ 2022-03-12 16:57:21 +01:00
838c280831 Remove apache default html dir 2022-03-12 16:56:39 +01:00
9f06b9a83a Add become 2022-03-12 16:55:03 +01:00
7df254c979 Fix variable names (cannot start with number) 2022-03-12 16:53:45 +01:00
212dc1781a Rename roles for apache and merge their vars into the roles 2022-03-12 16:44:57 +01:00
106d6767a2 Start cleanup 2022-03-12 16:35:32 +01:00
0fa622e153 Remove leading newline in roles 2022-03-12 16:04:05 +01:00
a75e8006e4 Add ansible.cfg 2022-03-11 22:31:42 +01:00
99355ed3de Merge playbooks in one 2022-03-11 22:30:11 +01:00
f99b971d03 Don't gather facts 2021-10-31 16:05:12 +01:00
ac06178ddb Add install-mariadb playbook 2021-10-31 16:01:49 +01:00
d466aa6736 Add install-apache playbook 2021-10-31 15:48:10 +01:00
8a97caa5e8 Make more explicit names, make vars for owner and group 2021-10-31 15:40:46 +01:00
f4680dca91 Split 2px and tunuifranken roles 2021-10-31 15:33:14 +01:00
af6586b4c0 Add 2px and tunuifranken install dirs 2021-10-31 15:05:20 +01:00