pyinfra
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...
## Describe the bug Please consider the following code snippet. When run multiple times, installing the packages via pip.packages is reported as "changed" every run. ## To Reproduce ```python from...
Kind of like #878, here's another files.put silently failing to update the file. Before: ``` bang% ls -l /tmp/net_traffic.aarch64 -rwxrwxr-x 1 drewp drewp 8361192 Dec 30 15:22 /tmp/net_traffic.aarch64 pipe% %...
## Describe the bug A changed behaviour in a new release - context (some shared state) seems to be leaking or getting modified between calls. ## To Reproduce This test...
It's super helpful and yet the output is... painful? Few thoughts: + Output command bits (https://github.com/Fizzadar/pyinfra/pull/922#issue-1485250302) + Optionally dump out proper JSON so it can be used elsewhere, to stdout...
I recently made some benchmark tests to compare [sakes](https://github.com/alajmo/sake) and Ansibles performance, and came across the pyinfra-performance repo, so decided to throw in pyinfra as well. The results I got...
**Is your feature request related to a problem? Please describe.** As it stands `pyinfra` is very much a CLI tool executed by users. There's the programmatic API as well for...
## Is your feature request related to a problem? Please describe Is there any way to run `reboot` and immediately trigger success or exit pyinfra successfully? ## Use Case Encrypted...
Inspired by: https://github.com/Fizzadar/pyinfra/issues/880. Currently temporary files (used for uploads/templates before moving to final location) use the `config.TEMP_FILE` parameter, which defaults to `/tmp`: https://github.com/Fizzadar/pyinfra/blob/0e4fe02824b262f81e44d397827203d2172d73d8/pyinfra/api/config.py#L15-L16 While this works in many systems, it...
## Description Hello there. I tried to find an Ansible Operation that could wrap like a proxy any Ansible module to profit from what has been done by this framework....
## Is your feature request related to a problem? Please describe It's difficult to quickly scan pyinfra's output, because "No changes" and "Success" are both colored green. ## Describe the...