cli.build.tree packageΒΆ

Module contentsΒΆ

cli.build.tree.build_mappings(start_role: str, roles_dir: str, max_depth: int) β†’ Dict[str, Any]ΒΆ

Build all 12 graph variants (6 dep types Γ— 2 directions). Accelerated version:

  • One-time scan of all metadata

  • One-time scan of all include_role/import_role

  • One-time scan of include_tasks/import_tasks

  • Build reverse-index tables

  • Then generate all graphs purely from memory

cli.build.tree.find_roles(*args, **kwargs)ΒΆ
cli.build.tree.main(*args, **kwargs)ΒΆ
cli.build.tree.output_graph(graph_data: Any, fmt: str, start: str, key: str)ΒΆ
cli.build.tree.process_role(*args, **kwargs)ΒΆ