pyinfra.connectors.mech module¶
The @mech
connector reads the current mech status and generates an inventory
for any running VMs.
# Run on all hosts
pyinfra @mech ...
# Run on a specific VM
pyinfra @mech/my-vm-name ...
# Run on multiple named VMs
pyinfra @mech/my-vm-name,@mech/another-vm-name ...
-
pyinfra.connectors.mech.
get_mech_config
(limit=None)¶
-
pyinfra.connectors.mech.
get_mech_options
()¶
-
pyinfra.connectors.mech.
make_names_data
(limit=None)¶