Commit graph

100 commits

Author SHA1 Message Date
1d0c703c42 fix: rename role nginx-https-ingres to resolve ansible lint warning 106 2022-10-24 22:22:35 +02:00
3d22d93ba1 fix: rename role dd24-dyndns-cron to resolve ansible lint warning 106 2022-10-24 22:22:35 +02:00
38ff34fb57 fix: rename role apache-letsencrypt to resolve linter warnings 2022-10-24 22:22:35 +02:00
69cf188426 fix: suppress false positive ansible lint warning 503 2022-10-24 22:22:35 +02:00
24929a36bc Add a role to set up cleanuri (uritools) 2022-09-15 18:09:16 +02:00
b9488e19db 🐛 Fix proxy site template
These are errors from a bodged PR (my bad) that has been merged too early.
2022-09-14 23:25:41 +02:00
182feeca58 🔥 Remove role setup-http-dehydrated
This feature is now provided by setup-http-site-proxy
2022-09-08 15:45:39 +02:00
e3020b6d71 Enable setup-http-site-proxy with missing proxy target
If no proxy port is defined, only the dehydrated HTTP endpoint is created
and the HTTPS endpoint returns 404.
2022-09-08 15:43:54 +02:00
c4af7754b2 Use variables to configure dehydrated locations
These variables match https://github.com/24367dfa/ansible-role-dehydrated
2022-09-08 15:41:36 +02:00
4da338f0ad 🐛 Fix template in setup-http-dehydrated when IPv6 is missing 2022-09-06 21:02:48 +02:00
965538141d Allow to define a host for local access
If a host is defined as local, HTTPS traffic will not be forwared.
The LetsEncrypt proxy is still available.
2022-09-06 19:39:51 +02:00
6653129652 🔨 Refactor host statements to objects 2022-09-06 19:39:51 +02:00
tux
0d3907d332 Merge pull request ' Add a role to allow letsencrypt access in Apache2' (!72) from apache-letsencrypt into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/72
Reviewed-by: dkdent <dkdent@netz39.de>
2022-09-06 15:54:30 +00:00
f9197221c8 🔧 Setup Apache proxy pass for sites with invalid URIs
This is a setup according to https://www.rabbitmq.com/management.html#proxy
which solves a problem with RabbitMQ encoding vhost names in a non-standard
way.

As this setting does not hurt other sites, we can introduce it into the
general template.
2022-09-06 15:35:50 +02:00
1fe6526898 Add a role to allow letsencrypt access in Apache2 2022-09-06 14:31:52 +02:00
68619b80b5 Add role to setup nginx with HTTPS forward capabilities 2022-08-27 20:32:56 +02:00
tux
6762a7b644 Merge pull request '🐛 Fix Apache templates for missing IPv6' (!62) from fix-apache-ipv6 into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/62
Reviewed-by: dkdent <dkdent@netz39.de>
2022-08-05 08:26:59 +00:00
a410ce5b8f 🐛 Fix template for missing IPv6 on apache-docker-proxy 2022-08-04 17:32:23 +02:00
31fc12dfb2 🐛 Fix template for missing IPv6 on apache-docker-forward 2022-08-04 17:32:06 +02:00
20942f8f4b Add role dd24-dyndns-cron
Setup cron job to call curl for DynDNS update
2022-08-04 17:03:09 +02:00
b75205f96c Use template to replace Docker apt list entry 2022-07-16 17:03:43 +02:00
af6092576c Add a template for the docker apt list
This template is necessary because the apt_repository role cannot
determine if an entry should be replaced.
2022-07-16 17:03:43 +02:00
9bd5d8e71e Make cert availability check more robust 2022-07-04 23:26:49 +02:00
48a4119420 Add rewrite rules for websockets 2022-07-04 23:26:49 +02:00
45206f4413 Add proxy headers 2022-07-04 23:26:49 +02:00
21b6fe0335 Enable proxy modules in Apache2 2022-07-04 23:26:49 +02:00
87fe645d8a Add mod headers to apache 2022-07-04 16:17:57 +02:00
9584d5a1c7 Allow to set backend_host for http proxy 2022-07-01 16:17:24 +02:00
702f670965 Fix setup-http-site-forward: set correct port for IPv6 SSL vhost 2021-11-23 14:42:04 +01:00
b9ca9f851f Fix dependency of dehydrated-cron
Role has a different name now
2021-03-11 21:28:25 +00:00
f8f5981a8d Use certs dir from dehydrated role 2021-03-11 22:24:35 +01:00
9fe4d808c2 Use well-known dir from dehydrated role 2021-03-11 22:22:14 +01:00
08577a2636 Add a role that sets up an Apache site for Dehydrated validation 2021-03-11 22:22:14 +01:00
b687eac43e remove local dehydrated role 2021-03-07 20:31:34 +01:00
ea4e167f20 fix domain iteration 2021-02-28 13:27:25 +00:00
06400afc87 rename handler, cron didn't really fit 2021-02-28 13:27:25 +00:00
011b4d355c fix readme for changes 2021-02-28 13:27:25 +00:00
4b37aa2d49 domains need a default 2021-02-28 13:27:25 +00:00
5d8e8f9ded separate out crin instead of domains 2021-02-28 13:27:25 +00:00
eb6f5a815d pebkac... variablen sollte man auch als variablen benutzen 2021-02-28 13:27:24 +00:00
1703e7226e add month to dehydrated_cron config 2021-02-28 13:27:24 +00:00
4ff88a0af3 cron job für dehydrated 2021-02-28 13:27:24 +00:00
fbd1d7a2ac jetzt gibts ein flag für forced update 2021-02-28 13:27:24 +00:00
cbe0368ac1 alternate_names als Liste 2021-02-28 13:27:24 +00:00
9ff8f0ad6c einrückungen repariert 2021-02-28 13:27:24 +00:00
4d2287d525 optional sind auch alternate_names für die domains möglich 2021-02-28 13:27:24 +00:00
f7a1fe8143 add some documentation in README.md 2021-02-28 13:27:24 +00:00
ef6adba1a6 add default values "" for hook scripts 2021-02-28 13:27:24 +00:00
fcfaf91928 add source to document the source of hook.sh.j2 2021-02-28 13:27:24 +00:00
695fcc2d91 add tasks for domains role 2021-02-28 13:27:24 +00:00