ansible-collections / ibm_zos_core

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

[Enhancement] Mvs_raw backup option for dd_data_set didn't accept a name and is specific use #1528

Open AndreMarcel99 opened 1 month ago

AndreMarcel99 commented 1 month ago

Is there an existing issue for this?

Enhancement or feature description

Currently the backup for the dd_data_set is working only on specific cases to set a new dataset, replace true, but not allow the user to use datasets already created or one to modify the name.

 backup:
                    description:
                      - Determines if a backup should be made of existing data set when I(disposition=new), I(replace=true),
                        and a data set with the desired name is found.
                      - I(backup) is only used when I(replace=true).
                    type: bool
                    default: false

Ansible module

zos_mvs_raw