move default nameservers to libs/defaults

This commit is contained in:
Franzi 2022-12-22 12:13:13 +01:00
parent 90823b7984
commit 3db7168589
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,3 @@
% for nameserver in sorted(node.metadata.get('nameservers', {'9.9.9.10', '2620:fe::10'})):
% for nameserver in sorted(node.metadata.get('nameservers', repo.libs.defaults.nameservers)):
nameserver ${nameserver}
% endfor

View file

@ -5,6 +5,10 @@ influxdb_org = 'encrypt$gAAAAABgg9hyjz4XtvG8NBw9uYxiumS3v7YKIrtc9tTTABg1f9R22gzn
influxdb_token = 'encrypt$gAAAAABgg9Ag632Xyuc6SWXaR1uH2tLOChmVKAoBIikhjntSSD2qJFL_eouVQGXCLH2HEuSbSdEXcTPn2qmhOiA9jmFdoDSbVbQUsp0EID1wLsWYG_Um2KOxZSF-tn9eDZlgShQYySjzO3nQRmdlJpVLUnGHsiwv_sHD2FstXGpfzTPZq5_egUqEc0K2X-aN2J6BTYc2fZAN'
influxdb_url = 'https://influxdb.kunsmann.eu/'
nameservers_ipv4 = ['9.9.9.10']
nameservers_ipv6 = ['2620:fe::10']
nameservers = [*nameservers_ipv4, *nameservers_ipv6]
# FIXME database conflicts
redis_databases = {
'matrix-media-repo': 7,