Modules can be used from the command line or in a playbook task. Ansible executes each module, usually on the remote target node, and collects return values. While different modules perform different tasks, their interfaces and responses follow similar patterns.

Module Documentation

You can also access the documentation of each module from the command line by using the ansible-doc command:

$ ansible-doc ibm.ibm_zos_zosmf.zmf_console_command