Using pyinfra
Deploy Reference
How pyinfra Works
Meta
connect_all()
disconnect_all()
Connect to all the configured servers in parallel. Reads/writes state.inventory.
state (pyinfra.api.State obj) – the state containing an inventory to connect to
pyinfra.api.State
Disconnect from all of the configured servers in parallel. Reads/writes state.inventory.