vars: fix regenerating a specific generator

This was broken after re-designing the API -> added a test
This commit is contained in:
DavHau
2025-08-20 14:32:13 +07:00
parent 6996a6340a
commit de0b1b2d70
9 changed files with 88 additions and 30 deletions

View File

@@ -148,7 +148,7 @@ def run_machine_update(
target_host_root = stack.enter_context(_target_host.become_root())
generate_facts([machine], service=None, regenerate=False)
run_generators([machine], generators="minimal")
run_generators([machine], generators=None, full_closure=False)
# Upload secrets to the target host using root
upload_secrets(machine, target_host_root)