-
## Describe the bug
Setting `use_sudo_password` differently for two different hosts fails, the same password is used for both.
-
My code:
```
files.link(path='/etc/resolv.conf', target='/run/systemd/resolve/resolv.conf', force=True)
```
Output:
```
--> Preparing operations...
Loading: net.py
Loaded fact li…
drewp updated
2 years ago
-
## Describe the bug
When files.line() is called multiple times for the same file with different arguments, only the last call is executed at deploy time.
## To Reproduce
My specific case (raspi…
-
My deploy says this:
```
apt.deb(src='http://http.us.debian.org/debian/pool/main/n/netplan.io/netplan.io_0.95-2_armhf.deb')
```
I inserted this print in facts/deb.py:
```
# We have deb…
drewp updated
3 years ago
-
## Describe the bug
`pyinfra` has too strict requirements on the version of `distro`
## To Reproduce
Upgrade distro to the latest version (1.6.0). `pyinfra` fails with
pkg_resources.Dist…
-
## Describe the bug
Loading system host keys in Paramiko is SUPER slow, and has to be done per-host.
## To Reproduce
Have a large host keys file, connect to many (50+) hosts at once.
## Expect…
-
## Describe the bug
Running a deploy with an `apt.repo` operation results in that repository being added despite being already present from a previous run.
## To Reproduce
This is part of the dep…
yggdr updated
3 years ago
-
## Describe the bug
I have a script with the following:
```
from pyinfra.operations import server
SUDO = True
x = lambda: 'mysecretsudopassword'
# USE_SUDO_PASSWORD = 'mysecretsudopassword…
oz123 updated
2 years ago
-
## Describe the bug
https://docs.pyinfra.com/en/1.x/operations/server.html#server-user
When user is created with a custom primary group, server.user fails to create/change owner of home directory an…
-
## Describe the bug
https://github.com/Fizzadar/pyinfra/blob/current/pyinfra/operations/server.py#L886
This regular expression checks user's existence by checking the ending of the username, not the…