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

## Describe the bug ``` bauen1: Okay, using facts does work, kind of, they are evaluated at the right time, but if I now have a fact that will error...

bug

At the moment, the useful utilities `any_changed` and `all_changed` in `pyinfra/operations/util/__init__.py` are broken because `OperationMeta.did_change` now returns a context manager instead of a boolean. This enables the syntax ```python with...

## Describe the bug In the `v3.x` branch, the `--quiet` command line flag no longer works ## To Reproduce `pyinfra pi.local --quiet exec -- go version` ``` NAME="openSUSE Tumbleweed" ID_LIKE="opensuse...

Bug

## Describe the bug When using `server.reboot`, pyinfra reboots the target but then waits for it to come back until the timeout, even if the system comes up earlier. ##...

Bug

## Is your feature request related to a problem? Please describe Hi, I would like to copy a file on another path on the targets. Ansible provides `ansible.builtin.copy` for this...

I think that the files.Block operation is taking on too much, and also too little. It handles insert, append, replace and delete, along with block markers, backup and file creation....

Hi, I'd like to contribute this small piece of code, which, when imported: 1) checks system keyring library (via python-keyring) for the presence of a key for ("pyinfra", "base64-encoded-hostname") 2)...

## Describe the bug Basic line insert with files.block fails with error from unnecessary chown when run ad hoc ## To Reproduce With the file /tmp/trypyinfra not exsting in /tmp,...

bug

## Is your feature request related to a problem? Please describe When writing new operations, it's not easy to put complex logic into basic shell commands. If abstraction level is...

operations

## Is your feature request related to a problem? Please describe I have noticed that the temporary files created by pyinfra are world-readable and often have a predictable name. For...