-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add single quotes around package name #45152
Conversation
<!--- Your description here --> `pip install ansible[azure]` results in `zsh: no matches found: ansible[azure]` at least in my computer (zsh on Ubuntu). I don't know if it is the case with all shells, but at least for me it is. Since square brackets `[]` are special characters in bash, I propose adding single quotes to make sure that package name is always interpreted as literal. The same error is also resolvable by setting noglob.
Hi @suonto. Thanks for opening a PR to improve the documentation. Before we merge a change, we'd like to make sure it will both fix your problem and not create new problems for other users. Can you include the output of your suggested change in |
@acozine I have just made a more comprehensive test with
All successfull pip install commands result in identical output, so I'm not pasting it here unless you specifically ask for it again. |
@suonto thanks for seeing this PR through - we appreciate your attention to detail and your interest in making the documentation better. |
<!--- Your description here --> `pip install ansible[azure]` results in `zsh: no matches found: ansible[azure]` at least in my computer (zsh on Ubuntu). I don't know if it is the case with all shells, but at least for me it is. Since square brackets `[]` are special characters in bash, I propose adding single quotes to make sure that package name is always interpreted as literal. The same error is also resolvable by setting noglob. (cherry picked from commit 0d81386)
Batch of docs backports: * docs: Clarify include_task v import_tasks with conditionals (#43856) (cherry picked from commit 6be42a2) * Add single quotes around package name (#45152) (cherry picked from commit 0d81386) * prefer ansible_facts namespace and dict notation (#44980) (cherry picked from commit 4451044) * fix cherrypick conflict - scenario_guides * Update implicit_localhost.rst (#45455) (cherry picked from commit f68cd1a) * updated fbsd install instructions (#45309) (cherry picked from commit e9c2695) * Change "Defaulting Undefined Variables" (#41379) (cherry picked from commit e35c4be) * adds license details to dev guide pages (#45574) (cherry picked from commit 6e68d77) * FAQ: fix a typo, add link to 'vars' lookup (#42412) (cherry picked from commit 95649dc) * Fix link and toctree (#45595) (cherry picked from commit 6999bf3) * Improve the local toctree (and title) (#45590) (cherry picked from commit afea00f) * Add undocumented configuration parameter and explain in porting guide (#36059) (cherry picked from commit a892a6e) * Simplify PPA installation for Ubuntu (#45690) (cherry picked from commit 78e9f45) * adding git+ssh uri scheme (#36025) (cherry picked from commit 84a4257) * Add workaround for non-standard kerberos environments (#41465) (cherry picked from commit 4e532e0) * Restore license agreement (#45809) (cherry picked from commit f430f60) * partial cherry-pick - lenovo doc update PR 45483
pip install ansible[azure]
results inzsh: no matches found: ansible[azure]
at least in my computer (zsh on Ubuntu). I don't know if it is the case with all shells, but at least for me it is. Since square brackets[]
are special characters in bash, I propose adding single quotes to make sure that package name is always interpreted as literal. The same error is also resolvable by setting noglob.SUMMARY
ISSUE TYPE
ANSIBLE VERSION