Open geeteq opened 2 months ago
Files identified in the description: None
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
for anything installed in your system https://docs.ansible.com/ansible/latest/cli/ansible-doc.html
for example, to list all modules:
ansible-doc -l -t module
to see the modules for a specific collection:
ansible-doc -l -t module community.general
To see other plugin types, just change what you give -t
, here i list all installed inventory plugins:
ansible-doc -l -t inventory
You can also just get docs about a specific plugin:
ansible-doc -t inventory ansible.builtin.constructed
But when a module has things that depend on an external system, they normally don't list all possible API calls or commands, you normally need to check that API or system for possible commands.
For example, the shell
module has a command
field, but that translates to every possible command installed on a server, not something you can list.
!component =plugins/modules/redfish_command.py
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @TSKushal @bhavya06 @jyundt @mraineri @rajeevkallur @renxulei @tomasg2012 @xmadsen click here for bot help
One way to see the possible commands are in the module's source: https://github.com/ansible-collections/community.general/blob/main/plugins/modules/redfish_command.py#L806-L820
I think they are all (or almost all?) listed in the examples as well, you can use the examples to see how to use every command.
Summary
In https://docs.ansible.com/ansible/latest/collections/community/general/redfish_command_module.html
Where can I see the list of categories and commands available?
Issue Type
Bug Report
Component Name
redfish_command
Ansible Version
2.11
Community.general Version
xx
Configuration
xx
OS / Environment
RHEL9
Steps to Reproduce
xx
Expected Results
xx
Actual Results
xx
Code of Conduct