Commit graph

189 commits

Author SHA1 Message Date
e0820766ae Minor name change 2022-04-13 22:21:05 +02:00
ebf72b0aa4 Add logging in gitea_backup script 2022-04-13 22:06:09 +02:00
fafe84630f Fix gitea_backup.sh script 2022-04-11 15:10:28 +02:00
8a766646f0 Set sudoer permissions for git 2022-04-10 17:26:53 +02:00
914c4a0cd6 Fix gitea_backup.sh to avoid hanging prompts 2022-04-10 16:55:34 +02:00
cdeeebac32 Add gitea restore command to deploy repos 2022-04-10 13:54:32 +02:00
4424ad8877 gitea service has to be running for deploying the repos 2022-04-10 12:44:11 +02:00
381059eaa7 Don't download gitea binary if not needed 2022-04-09 13:52:53 +02:00
1964e28d7d Escape backup script 2022-04-09 13:46:41 +02:00
3aa6ac1bd5 Copy gitea_backup.sh script 2022-04-09 13:30:32 +02:00
f2d3382db5 Fix arch for arm 2022-04-09 13:03:23 +02:00
83e65f7afb Rename handlers 2022-04-09 12:51:52 +02:00
cf327ca2d0 Setup fail2ban for gitea 2022-04-09 12:47:16 +02:00
9616ab751b Add role gitea-apache2 2022-04-09 12:12:45 +02:00
ecdb15c942 Add fail2ban dependency for gitea with todo note 2022-04-09 11:47:42 +02:00
7441940baa Move gpg verification to handlers 2022-04-09 11:04:23 +02:00
42d3c7eb40 Add changed_when to gpg command 2022-04-08 22:54:14 +02:00
231da79a9c Verify gitea binary 2022-04-08 00:10:43 +02:00
c91cd93b6b Download gitea binary 2022-04-07 23:50:18 +02:00
1b39e5de29 Add app.ini template for gitea with vars 2022-04-07 22:43:12 +02:00
51305f107e Create gitea directories 2022-04-07 21:14:10 +02:00
530e5e6800 Add git user and group 2022-04-07 21:00:33 +02:00
091d3c75db Check db connections 2022-04-07 20:45:01 +02:00
a3928fde59 Add collation and charset for giteadb 2022-04-07 20:34:44 +02:00
f7d09cb45d Update description text for task 2022-04-07 20:13:38 +02:00
8aaa91eda2 Set up db for gitea 2022-04-06 21:32:51 +02:00
1d0c04b7d0 Fix RewriteRule 2022-04-01 08:26:02 +02:00
f527901eb9 Add clone repo for tunuifranken.info 2022-03-28 16:32:55 +02:00
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
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
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
5c8e4d9c4c Add 'common' dependency for confapache 2021-10-31 14:43:57 +01:00
e549214503 Remove quotes 2021-10-31 14:43:38 +01:00
6a19331970 Add 2px db and user 2021-10-31 13:44:58 +01:00
e21b328053 Add 'common' dependency for confdb 2021-10-31 13:44:58 +01:00
6f6c4a0f43 Add database variables 2021-10-31 13:44:58 +01:00
07aaa42b00 Add install mariadb 2021-10-31 13:44:58 +01:00
5ad36edb60 Add install apache 2021-10-31 13:44:58 +01:00
80dc46acc0 Add apache restart handler 2021-10-31 13:44:58 +01:00
94d774b5b1 Put quotes around variables 2021-10-31 13:37:53 +01:00
a189792ad1 Remove string quotes 2021-10-31 12:56:49 +01:00
df996873ee Add name lines to pre-checks 2021-10-31 12:51:58 +01:00
877d7b15ac Create structure for role confdb 2021-10-31 12:42:35 +01:00
92c09cd676 Create structure for role confapache 2021-10-31 12:42:35 +01:00
ca51e7a5a0 Create structure for role common 2021-10-31 12:42:35 +01:00
d0c97c29f8 Create structure for role mariadb 2021-10-31 12:42:35 +01:00
4655a6e3d4 Create structure for role apache 2021-10-31 12:42:35 +01:00
7fd9827c55 Add pre-checks 2021-10-31 12:42:30 +01:00