mache.deploy.machine.get_known_machines

mache.deploy.machine.get_known_machines(*, machines_path: str | None = None) set[str][source]

Return the set of machines known to mache or the target software.

Parameters:

machines_path – Optional path (absolute or relative to repo root) containing machine config files in ini format (e.g. deploy/machines). If None/empty, only mache.machines is used.

Returns:

known – A set of known machine names.