Commit graph

291 commits

Author SHA1 Message Date
628d0c326a For needed mailboxes: add postmaster, use aliases instead, and create them 2024-07-24 16:46:30 +02:00
ae1b2667a3 Use groups for 'hosts:' in the playbooks 2024-07-24 16:22:24 +02:00
fc1bbe1c24 Rename forgejo backup log dir 2024-07-21 13:27:57 +02:00
b0b308a25d Add AcceptEnv sshd_config for forgejo 2024-07-21 00:04:19 +02:00
1087698be9 Rename forgejo_backup.sh => forgejo-backup.sh 2024-07-20 22:45:10 +02:00
dbb0563248 Redirect forgejo-backup logs in cron, move some files 2024-07-20 22:45:10 +02:00
b7fcd6e300 fixup! Move forgejo-backup logs out of log dir 2024-07-08 17:28:26 +02:00
7d71495034 Fix name of sql dump file in forgejo backup script 2024-07-08 15:47:18 +02:00
babf3aee25 Move forgejo-backup logs out of log dir
Otherwise the backup includes it's own logs while writing to them
2024-07-08 10:56:11 +02:00
ee361662d0 Make sure some dirs exist before doing forgejo backup 2024-07-08 10:40:11 +02:00
8ccf64fbff Allow incoming HTTPS for websites 2024-07-06 20:42:33 +02:00
73a730494c Small fixes 2024-07-06 20:41:11 +02:00
acc6fd8afd Make SSH connections faster 2024-07-06 20:40:50 +02:00
7e4af01df3 Add sshd_config 2024-07-06 18:10:12 +02:00
6fc0f44412 Add bash_aliases to common 2024-04-14 00:07:57 +02:00
7f5358e9da Add role common with etckeeper 2024-04-13 23:22:15 +02:00
949163ca59 Make forgejo conf file non group readable 2024-04-13 22:46:00 +02:00
dac63af2ec Add role "add_cert" to be used instead of add_cert_{dns_01,http_01} 2024-04-09 23:51:18 +02:00
b388fa002e Minor change 2024-04-09 20:21:59 +02:00
ac1e28aab6 Fix some vars in mailserver_postfix main.cf template 2024-04-07 20:41:25 +02:00
0b9a101c02 [forgejo] Enable mailer with dummy protocol while mailserver isn't ready 2024-04-07 20:39:32 +02:00
b4ffb1ae86 Reload apache2 after cloning tunuifranken.info 2024-04-07 17:08:53 +02:00
3c1160cd23 [tunuifranken] Change unix user to tunuifranken 2024-04-07 17:08:53 +02:00
69ab63d567 Set lime2-test VM RAM to 1G 2024-04-07 17:08:53 +02:00
808a40ac68 Set more specific sudoers permissions for git user 2024-04-07 17:08:53 +02:00
e0cfde4c9f Permit to define forgejo_dump_path with ansible-playbook -e ... 2024-04-07 12:09:50 +02:00
cbc1712a63 Minor change 2024-04-07 11:51:36 +02:00
49b7fea2ee Fix forgejo .asc file download as user git 2024-04-07 11:51:19 +02:00
0b9f2f6197 Minor change 2024-04-01 17:11:27 +02:00
c3ebf02781 Add missing apache2 modules for forgejo 2024-04-01 16:42:09 +02:00
f27a0901c5 Conditionnaly run DNS-01 or HTTP-01 for certificates 2024-03-08 09:59:23 +01:00
f64784fafa Minor naming change 2024-03-07 18:22:19 +01:00
ab2ec4f933 Add certbot command for HTTP-01 challenge 2024-03-07 18:11:27 +01:00
2b80d8b762 Add post-hook for letsencrypt certificate 2024-03-07 17:59:06 +01:00
0226b9a0a2 Clarify variables used in letsencrypt roles 2024-03-07 15:18:05 +01:00
393eafb5c0 Rename role setup_certbot => add_cert_http_01 2024-03-07 15:01:38 +01:00
8adc6a74c5 Rename role deploy_certificate => add_cert_dns_01 2024-03-07 15:01:38 +01:00
b453e559c9 Disable forgejo mailer functionality, as long as mailserver role isn't ready 2024-03-05 15:33:26 +01:00
d7deda69a2 Fix download asc file needs root 2024-03-05 14:27:40 +01:00
bcef50c199 Restart postfix instead of reloading 2024-01-27 13:49:09 +01:00
47dd5c4676 Add postfix master.cf 2024-01-27 13:47:55 +01:00
0ed9279666 Use template for postfix main.cf 2024-01-27 13:47:37 +01:00
9344a95d95 Move execution of postgresql script to a handler 2024-01-17 10:01:47 +01:00
f01e29fd31 Use hashes for default created virtual_users 2024-01-17 09:53:35 +01:00
23ba286cd3 Move some playbook variables to inventory 2024-01-15 12:18:44 +01:00
3641d2dd35 Use var for the main virtual_domain 2024-01-12 20:51:34 +01:00
96b171baab [mailserver_database tables] Add UNIQUE constraints and insert default data 2024-01-12 20:51:34 +01:00
74cdf27ad8 Add dovecot authentication for Postfix 2024-01-12 20:51:34 +01:00
e985d86dcc Update todo 2024-01-12 20:51:34 +01:00
58b1237167 Group mailserver_database vars in a dict 2024-01-10 09:24:18 +01:00