ansible-collections / ibm_zos_core

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

[Documentation] [zos_archive] Example is focused on GDG and terse yet really does not align to a terse example. #1731

Open ddimatos opened 2 months ago

ddimatos commented 2 months ago

Is there an existing issue for this?

Documentation issue description

Compare this terse example to others, it does not seem to really have meant to be a terse example.

- name: Archive multiple data sets into a new GDS
  zos_archive:
    src: "USER.ARCHIVE.*"
    dest: "USER.GDG(+1)"
    format:
      name: terse
      format_options:
        use_adrdssu: True

Others that align to terse.

- name: Archive multiple GDSs into a terse
  zos_archive:
    src:
      - "USER.GDG(0)"
      - "USER.GDG(-1)"
      - "USER.GDG(-2)"
    dest: "USER.ARCHIVE.RESULT.TRS"
    format:
      name: terse
      format_options:
        use_adrdssu: True

IBM z/OS Ansible core Version

v1.9.0 (default)

Ansible module

No response

fernandofloresg commented 1 month ago

I don't see why this does not align with terse samples ? Tested this and it does work.