IBM / ibm_zos_zosmf

Ansible collection to work with z/OS based on z/OS Management Facility (z/OSMF).
22 stars 13 forks source link

Allow Workflow automation to run in sequential or parallel excuition #99

Open viane opened 8 months ago

viane commented 8 months ago

Looks like the current logic is that if the workflow allows parallel execution, the ansible-playbook will default to parallel automation, and no way to override with the setting.

Looking for a parameter to specify what style of automation the playbook is to execute the workflow steps.

    - name: "zOSMF workflow"
      delegate_to: localhost
      ibm.ibm_zosmf.zmf_workflow:
        ...
        state: "started"
        action "start | startParallel" # <- example parameter
        workflow_owner: "xxxx"
        ...
        workflow_vars_file: "wf-var.properties "
      register: result
viane commented 8 months ago

One use case we had is that a new change to the z/OSMF workflow broke the parallel execution, but the sequential automation was not affected, however, the existing Ansible collection user will stuck with this breakage until the next patch is delivered for the workflow.