Private
Public Access
2
0

caddy: geoip first attempt

This commit is contained in:
2026-01-23 14:08:31 +03:00
parent dde28095b2
commit 06198aca2c
7 changed files with 126 additions and 1 deletions

View File

@@ -1,9 +1,10 @@
- name: Install requirements
ansible.builtin.apt:
ansible.builtin.package:
name:
- "git"
- "libnss3-tools"
- "ssl-cert"
# - "geoipupdate"
- name: Create Go directory
ansible.builtin.file:
@@ -37,6 +38,7 @@
--with github.com/corazawaf/coraza-caddy/v2@v{{ caddy_coraza_caddy_version }}
--with github.com/mholt/caddy-ratelimit
--with github.com/steffenbusch/caddy-bot-barrier
--with github.com/zhangjiayin/caddy-geoip2
--output /usr/local/bin/{{ caddy_my_name }}
- name: Remember and test Caddy version