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...
An always expanding builtin set of operations/facts is unmaintainable, it makes sense to decide where this should end and where operations as external packages should begin. Looking at the current...
The server i'm working with has a bastion that need a yubikey old "One Time Password" with a ssh interactive session. It does not work out of box with pyinfra,...
I would like to reduce the connection timeout to 5 seconds when connecting to my hosts , through a ProxyJump The ~/.ssh/config file is properly set on my host: ```...
## Describe the bug A clear and concise description of what the bug is. When ending a line replacement with `2>&1` the line is not replaced properly and a broken...
Move `server.user` -> `linux.user` and add `macos.user` (using `sysadminctl`). Then have `server.user` behave like `server.packages` and similar where we select `[linux|macos|windows].user` according to the remote OS.
## Is your feature request related to a problem? Please describe When deploying pyinfra , we need to setup Python and dependencies. ## Describe the solution you'd like Building pyinfra...
We can already do this with deploys/operations: ``` pyinfra inventory.py my_python_module.my_op ``` So why not inventory?
Essentially make the behaviour added in #823 the default.
## Describe the bug I catched situation with missing DNF package after pyinfra 2.6 operation. ```python dnf.packages( name="Test packages RPMs", packages=["caddy"], _sudo=True, ) ``` I am not sure, that I...
## Describe the bug The files.link() operation checks if the path already exists is a symlink, but fails if the path is hardlinked. ## To Reproduce With the following deploy...