pyinfra icon indicating copy to clipboard operation
pyinfra copied to clipboard

pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and...

Results 251 pyinfra issues
Sort by recently updated
recently updated
newest added

## Is your feature request related to a problem? Please describe Pyinfra collects all facts before running operations. However sometimes an operation could modify this state during execution and as...

I don't think we have an option of rendering templated files at the moment (before they are applied to target hosts), so this feature would be useful.

Currently, we have a few options to decide when an operation is called success: 1. The exit_code can be chosen to whatever integer and that would be called success 2....

## Is your feature request related to a problem? Please describe In some cases it is useful to force or ban specific versions of packages from being installed, at the...

Operations

If you specify a syntactically python inventory file, but also one that does not match what pyinfra requires in its inventory spec, you'll see no error which is confusing. For...

CLI

Allow the docker user to be specified when building a docker image. At the moment, we can already specify the ssh user (`--user, --ssh-user`) and winrm user (`--winrm-username`), so it...

connectors

I find that I find the PyInfra CLI somewhat cumbersome. Maybe I'm using it wrong, or maybe not. In a typical deploy I have to do some tasks on my...

## Is your feature request related to a problem? Please describe I would like to measure time from pyinfra start to end of all operations. Thanks to this I could...

Operations
Spec
Facts
Documentation

## Describe the solution you'd like Add a `wait_for_lock` argument to prevent apt operations failing instantly if there is another process holding the apt lock. Default `False` for compatibility (and...

Operations