Also load config settings from secrets.yaml

This commit is contained in:
2025-11-11 03:45:10 +01:00
parent c121533161
commit 7d6413cf10
2 changed files with 4 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1 +1,2 @@
_secrets.yaml filter=git-crypt diff=git-crypt
secrets.yaml filter=git-crypt diff=git-crypt

View File

@@ -134,6 +134,9 @@ def main():
with open(ROOT.joinpath("config.yaml")) as fyaml:
config = yaml.safe_load(fyaml)
with open(ROOT.joinpath("secrets.yaml")) as fyaml:
config |= yaml.safe_load(fyaml)
template_args = {"config": config, "root": ROOT}
nodes = []