1
0
Fork 0
forked from infra/ansible

anubis: try and allow ostree/iot summary and refs through

This was causing problems when we last upgraded anubis because
the refs/summary were getting challenges from anubis for ostree users.
So, lets try and just allow those. They are all small files, so
it shouldn't be much in the way of load.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-11-18 15:16:52 -08:00
commit 29978f3192

View file

@ -8,6 +8,18 @@ bots:
- name: bodhi and badges rss feeds
path_regex: /rss/
action: ALLOW
- name: allow ostree summary
path_regex: ^/ostree/repo/summary
action: ALLOW
- name: allow ostree refs
path_regex: ^/ostree/repo/refs
action: ALLOW
- name: allow iot summary
path_regex: ^/iot/repo/summary
action: ALLOW
- name: allow iot refs
path_regex: ^/iot/repo/refs
action: ALLOW
# these are solid defaults from
# https://github.com/TecharoHQ/anubis/blob/main/data/botPolicies.yaml
- import: (data)/botPolicies.yaml