pyinfra.api.operations module¶
-
pyinfra.api.operations.
log_operation_start
(op_meta, op_types=None, prefix='--> ')¶
-
pyinfra.api.operations.
run_host_op
(state, host, op_hash)¶
-
pyinfra.api.operations.
run_ops
(state, serial=False, no_wait=False)¶ Runs all operations across all servers in a configurable manner.
- Parameters
- state (
pyinfra.api.State
obj) – the deploy state to execute - serial (boolean) – whether to run operations host by host
- no_wait (boolean) – whether to wait for all hosts between operations
- state (
-
pyinfra.api.operations.
show_pre_or_post_condition_warning
(condition_name)¶