M group_vars/all/default.yml => group_vars/all/default.yml +1 -1
@@ 20,7 20,7 @@ srht_smtp_password: ""
srht_smtp_error_to: ""
srht_smtp_error_from: ""
srht_enable_registration: "yes"
-
+srht_ipnet: "127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8,10.0.3.0/8"
# before running, you have to copy the pgp private and public key
# put the key id here
M roles/git.sr.ht/tasks/config.yml => roles/git.sr.ht/tasks/config.yml +1 -1
@@ 69,7 69,7 @@
# *.sr.ht services are running.
#
# Comma-separated, CIDR notation.
- internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8
+ internal-ipnet={{ srht_ipnet }}
[git.sr.ht::dispatch]
#
# The authorized keys hook uses this to dispatch to various handlers
M roles/meta.sr.ht/tasks/config.yml => roles/meta.sr.ht/tasks/config.yml +2 -2
@@ 30,7 30,7 @@
#
# Origin URL for the API
# By default, the API port is 100 more than the web port
- #api-origin=http://127.0.0.1:5100
+ api-origin=http://127.0.0.1:5100
[meta.sr.ht::api]
#
@@ 52,7 52,7 @@
# *.sr.ht services are running.
#
# Comma-separated, CIDR notation.
- internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8
+ internal-ipnet={{ srht_ipnet }}
[meta.sr.ht::settings]
#