Comments (1)
This seems to be caused by the following line in pyinfra/facts/choco.py:
shell_executable = "ps"
Should the ps
alias exist by default? Or am I expected to manually create it?
The following seems to fix the issue:
shell_executable = "powershell.exe"
from pyinfra.
Related Issues (20)
- Installation docs for 3.x mix up pip and pipx HOT 1
- Equivalent of ansible parted module HOT 1
- Docs for 3.x are missing Python API usage example HOT 1
- `--sudo` does not seem to work for nested operations
- Setting user SSH keys fails when authorized_keys file is a symlink
- files.put(mode=True) always reports changed == True
- Would be useful with a `ssh.keyscan` user argument HOT 2
- `paramiko` reports "size mismatch" when using `files.put` operation over ssh HOT 1
- Pyinfra docs have examples with the wrong key name for ssh connector HOT 1
- Cannot run in PyCharm/IntelliJ runner due to `This operation would block forever` HOT 3
- files.put() - incompatibility when `src` is `StringIO` and `dest` is a directory
- `mysql_password` (and probably lots of others) is displayed all over the logs when using a single `-v` HOT 1
- Create a dedicated page on debugging the code
- Make `python.call` operation idempotent-capable HOT 1
- Setting `_sudo` in the group data doesn't enable sudo HOT 2
- any_changed and all_changed are broken HOT 2
- Systemd service failure not detected correctly
- Rsync Operation append an None to ssh host name
- Improve error message when deploy name is missing in pyinfra v3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyinfra.