pyinfra.api.state

class pyinfra.api.state.PipelineFacts(state)

Bases: object

process(func, decorated_func, args, kwargs)
class pyinfra.api.state.State(inventory, config=None)

Bases: object

Manages state for a pyinfra deploy.

active = True
config = None
current_op_meta = None
deploy_dir = None
fail_hosts(hosts_to_fail)
get_temp_filename(hash_key=None)

Generate a temporary filename for this deploy.

in_op = False
inventory = None
pipelining = False
pool = None
print_fact_info = False
print_fact_output = False
print_lines = False
print_output = False