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

Quickstart

Access Collection

After IBM z/OSMF collection is installed following the section Installation, you can access the collection content for a playbook by referencing the namespace ibm and collection’s fully qualified name ibm_zos_zosmf, for example:

- hosts: all
  tasks:
    - ibm.ibm_zos_zosmf.zmf_workflow:

In Ansible 2.9, the collections keyword was added and reduces the need to refer to the collection repeatedly, for example:

- hosts: all
  collections:
    - ibm.ibm_zos_zosmf
  tasks:
    - zmf_workflow:
- hosts: all
  collections:
    - ibm.ibm_zos_zosmf
  tasks:
    - include_role:
        name: zmf_workflow_complete