-
Notifications
You must be signed in to change notification settings - Fork 554
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
Docs survey feedback: add a "cheatsheet" for the main commands #48
Comments
Files identified in the description: If these files are incorrect, please update the |
For folks who find this issue searching for documentation on the CLI tools, current detailed docs for them are here: https://docs.ansible.com/ansible/latest/user_guide/command_line_tools.html. The cheatsheet is a good idea, it just hasn't been implemented yet. Check out the DaWGs (Docs Working Group) if you can help! |
Hi ! I'd like to document the most used ansible commands in the mentionned CheatSheet, can I be assigned on this issue ? |
Hey @IlyesSemlali ! So sorry I didn't see this! Are you still up for adding this documentation to the cheatsheet? |
This can be one PR per command if you don't want to add all of them. |
Hey @acozine To be sure, should I have created a folder |
@Dule-martins you can just add the other commands to the existing page in the docs. Take a look at https://github.com/ansible/ansible/pull/76655/files, which added the The complete CLI docs are auto-generated. For example the page https://docs.ansible.com/ansible/latest/cli/ansible-config.html is created from the python code for the You can use that docs page as a source of content for adding a section about Thanks for taking a look at this! |
@Dule-martins hey thanks for taking this on! I just had a thought - as writers, we may not know the common flags etc for each command. What do you and @acozine think about asking for common flags etc on something like the ansible Reddit? They are usually a helpful group of people there and we might get and idea of what people typically do with something like the ansible-galaxy command etc.. |
Thank you for helping me understand how to handle this issue. |
I will check that out as I work on this, thank you @samccann |
We did ask on reddit here and with a community-topic. So far not so much feedback but hopefully we'll get a few more replies. |
Hi I'm interested to start working in this issue. Please assign me. |
@BhattacharjeeSutapa You're all set. Please let us know if you have any questions or need more help for this one. |
@acozine Is there a reason some commands were omitted from the checklist in the summary?
|
Updated the description to add those three.. thanks @mattclay |
@BhattacharjeeSutapa - let's try taking this one command at a time. The next one on the list is [ From a user perspective, this is used two ways:
Since this cheatsheet is in the user guide, I'd say we should ignore how developers use this command for now. So if we follow the cheatsheet for ansible-playbook, then we'd want three simple examples I think:
That last one is the only one with a flag and the requirements.txt is a file that lists all the collections the user wants to install at once. |
Since we moved docs to a new repo, the cheatsheet rst file is now at https://github.com/ansible/ansible-documentation/edit/devel/docs/docsite/rst/command_guide/cheatsheet.rst |
Part of #48 Adds common CLI use for `ansible-galaxy` command.
For ansible-galaxy - should also include ansible-galaxy role install and ansible-galaxy install -r in a follow up PR. |
Summary
Add a page with examples for
ansible-playbook
and other commonly-used CLI commands, similar to an O'Reilly cookbook. Include lots of options/flags.ansible-playbook
ansible-galaxy
ansible
ansible-inventory
ansible-doc
ansible-config
ansible-vault
ansible-console
ansible-pull
ansible-test
Issue Type
Documentation Report
Component Name
docs/docsite/cli/
Ansible Version
Configuration
OS / Environment
N/A
Additional Information
None needed.
Code of Conduct
The text was updated successfully, but these errors were encountered: