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 docker container exec ## Describe the solution you'd like https://docs.ansible.com/ansible/latest/collections/community/docker/docker_container_exec_module.html#examples

## Is your feature request related to a problem? Please describe supervisor (supervisorctl) operations ## Describe the solution you'd like supervisor (supervisorctl) operations

This PR adds the ability to specify which database `psql` should connect to for postgres/postgresql operaitons and facts. I can into an issue where I wanted to create a postgres...

This should be able to fix #1192, fix #1191, fix #1189

## Is your feature request related to a problem? Please describe Commands like `systemctl stop abc*` support glob-style wildcards. However, `systemd.service()` does not. ## Describe the solution you'd like The...

## Is your feature request related to a problem? Please describe https://github.com/pyinfra-dev/pyinfra/blob/2fb4fb0d02b3d52ad0e33cce18bd1851874c1044/pyinfra/connectors/docker.py#L168 ## Describe the solution you'd like allow to change sh with bash

## Is your feature request related to a problem? Please describe ### Discussed in https://github.com/pyinfra-dev/pyinfra/discussions/1204 Originally posted by **DrSensor** September 14, 2024 Hi, how to disable `-H`/`--set-home` flag when using...

## Describe the bug If this is not a bug I am horribly confused on how this is actually supposed to work. 🙃 If an unidentified cronjob exists in your...

## Describe the bug I need to enforce CRON_TZ=UTC in my crontab. changing machine's timezone is not possible But pyinfra can't parse the line: ```log Traceback (most recent call last):...

I noticed that Crontab uses the following data structure. If a command appears twice, the old entry will get overwritten. It may has something to do with #1189, but I'm...