Warning: This document is for an old version of IBM z/OSMF Collection. The latest version is v3.0.0.

MVS Command Operations

IBM z/OSMF collection provides a module to work with z/OS console. You can use this module to issue MVS command, retrieve command response and easily define success condition based on specified keywords in the command response or broadcast messages, and save the command response on Ansible control node.

Note

  • Configure Console Services: The module is driving z/OSMF “REST z/OS console services”. So you might need to ensure the z/OSMF console services have been setup correctly before you use this ansible module. For more details, see Configure Console Services.

  • Check Mode: The module does not support check mode.

Modules

  • zmf_console_command:

    This module can be used to issue MVS command, retrieve command response and easily define success condition based on specified keywords in the command response or broadcast messages, and save the command response on Ansible control node.

Requirements

See the section Requirements.

Sample Playbooks

See the section Playbooks.