Files
fedora-infra_ansible/roles/anubis-el/templates/env.j2
Kevin Fenzi 8104cee874 anubis-el: rework config to hopefully work with el podman and add key
Right now, podman on el9 isn't reading the policy correctly.
This is because the env for the unit isn't getting picked up
by podman, so instead pass --env-file to read it from a file.
Also, we want to setup a private key for the download servers
so they all have the same challenge creation (so if you hit 01
you want your challenge to be good on 02, etc).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-02-11 12:24:03 -08:00

11 lines
280 B
Django/Jinja

DIFFICULTY=4
METRICS_BIND=:9090
SERVE_ROBOTS_TXT=true
TARGET=http://localhost:3923
POLICY_FNAME=/srv/anubis/cfg/botPolicy.yaml
OG_PASSTHROUGH=true
OG_EXPIRY_TIME=24h
{% if inventory_hostname in groups['download'] %}
ED25519_PRIVATE_KEY_HEX={{ anubis_dl_ed25519_key }}
{% endif %}