ansible-collections / ibm_zos_core

Red Hat Ansible Certified Content for IBM Z
77 stars 44 forks source link

[Enhancement] [zos_data_set] support force: true with batch option #960

Open adn1107 opened 1 year ago

adn1107 commented 1 year ago

Is there an existing issue for this?

Ansible module

zos_data_set

Enhancement or feature description

force: true is not supported with batch option?

`- name: Clean zCloud PROCLIB zos_data_set: batch:

TASK [ims_proclib : Clean zCloud PROCLIB] **** fatal: [wazi]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (zos_data_set) module: batch.force. Supported parameters include: block_size, directory_blocks, key_length, key_offset, name, record_format, record_length, replace, sms_data_class, sms_management_class, sms_storage_class, space_primary, space_secondary, space_type, state, type, volumes (data_class, format, size, volume)."}

fernandofloresg commented 1 year ago

Using force as an option within batch will need no further change other than changing the validation schema and testing it.