Closed vojta001 closed 6 months ago
Hi @vojta001, thank you for reporting this. I've pushed a fix (unfortunately messed up the commit here) in https://github.com/pyinfra-dev/pyinfra/commit/8177f500d60a650313f20f2f4cce8f313d41e70c and just released that in v2.9.1. Would you be able to retry to confirm this is fixed?
Fixed, cherry picked into v3 branch.
@Fizzadar Thank you for fixing this and sorry for the long delay to test the patch. I can now confirm the issue is gone.
@vojta001 no worries at all appreciate you checking in 🙏
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 for the same behavior using the inventory file only.To Reproduce
inventory.py:
The output is
Compare it with
and its output
It's the
[example.tld] >>> sh -c date
vs.[example.tld] >>> date
.Meta
pyinfra --support
.nix