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

Props to @phlummox (https://github.com/Fizzadar/pyinfra/issues/850). MacOS GitHub runner comes with Virtualbox so let's test the `@vagrant` connector.

Connectors

As the "snap" pckage manager increases in the popularity and the amount of software in the snap repository is alresy quite big, it would be useful to have a chance...

operations

Initial support for ``opkg`` ( Openwrt's package manager). Addresses issue #1046.

## Describe the bug Version: v3.0b0 When rendering jinja templates with the `files.template()`-operation, variables passed to `@deploy(data_defaults)` are not accessible via `host.data`. This appears to be a regression from v2.9....

Bug

In the "ssh.command", there may be situations when I can check, whether the system is already in the desired state or not. 1. If the system is in the desired...

I'd like to be able to do this: ``` changed = files.put("files/postgres/compose.yml", "postgres/compose.yml") if changed: server.shell("cd postgres && docker compose up -d") ``` So I can run steps conditionally on...

## Is your feature request related to a problem? Please describe As `Get-ItemProperty` output is different → parsing fails - Number of lines - Number of digits ### Windows PowerShell...

## Describe the bug Since #724 we can use `--shell-executable None` in CLI to make pyinfra not explicitly specify a shell (crucial for non-POSIX targets). I struggle to opt in...

Bug

## Describe the bug As the title describes, using the `files.sync` operation on a remote directory which contains symlinks that are not present in the local version, they are not...

bug

## Describe the bug /tasks/test.py ```python #... server.script('./tasks/test.sh') ``` /tasks/test.sh ```bash #!/bin/bash echo "hi $USER" sudo echo "hello $USER" ``` This prompts for a password, but then erroneously re-runs `test.sh`...

bug
operations