pyinfra.api.connect module

pyinfra.api.connect.connect_all(state)

Connect to all the configured servers in parallel. Reads/writes state.inventory.

Parameters

state (pyinfra.api.State obj) – the state containing an inventory to connect to

pyinfra.api.connect.disconnect_all(state)