Modules¶
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 Reference¶
IBM z/OSMF collection provides several modules. Reference material for each module contains documentation on what parameters certain modules accept, what values they expect those parameters to be, and what will returned.
- zmf_authenticate – Authenticate with z/OSMF server
- zmf_console_command – Issue MVS command
- zmf_dataset – Manage z/OS data set or member
- zmf_dataset_copy – Copy data to z/OS data set or member
- zmf_dataset_fetch – Fetch z/OS data set or member from z/OS
- zmf_file – Manage z/OS USS file or directory
- zmf_file_copy – Copy data to z/OS USS file
- zmf_file_fetch – Fetch USS file from z/OS
- zmf_workflow – Operate z/OS workflows
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_workflow