Skip to content

Commit 40bbca5

Browse files
ddimatosrexeminfernandofloresgrichp405ketankelkar
authored
Update branch production branch Main with release v1.5.0 content (#756)
* Bug fix to correct job log returining and other edge cases (#688) * Update zos_job_submit to handle some edge cases and return the job log nearly always Signed-off-by: ddimatos <[email protected]> * Linting correction Signed-off-by: ddimatos <[email protected]> * Add changelog fragement for pr 683 Signed-off-by: ddimatos <[email protected]> * Clean up comments in code Signed-off-by: ddimatos <[email protected]> * Update restructured text for modules and changelog fragment Signed-off-by: ddimatos <[email protected]> * Add support to check for security exception to job submit module Signed-off-by: ddimatos <[email protected]> * Add additonal logic for jobs that use typerun=scan Signed-off-by: ddimatos <[email protected]> * Update chnagelog fragment Signed-off-by: ddimatos <[email protected]> * Correct run on sentence Signed-off-by: ddimatos <[email protected]> --------- Signed-off-by: ddimatos <[email protected]> * Added additional `D SYMBOLS` example to zos_operator documentation (#729) * Update zos_operator with an additional example Signed-off-by: ddimatos <[email protected]> * Added change fragment Signed-off-by: ddimatos <[email protected]> --------- Signed-off-by: ddimatos <[email protected]> * Ported bugfixes for #664 and #678 * Updated file normalization for sequential datasets * Fixed encoding when a remote source is used * Added encoding normalization for record length (#664) This is a port and tweak from the normalization found in the L2 support branch. Now the normalization applies for both local and remote source files. There is still work left to validate how this behaves when copying to partitioned datasets, and see if the normalization needs to handle directories as well. * Refactored normalization for USS files * Updated line endings normalization in PDSEs * Updated create_temp_with_lf_endings * Added tests for line endings normalization * Added changelog fragment * Add copy lib member test case * Corrected changelog fragment * Add conflict resolution * Update 641-copy-loadlib-member.yml * zos_copy forward port a test case for symbols on a volume (#739) * Add a test case for symbols using an existing volume on our test system Signed-off-by: ddimatos <[email protected]> * Add changelog fragment Signed-off-by: ddimatos <[email protected]> * Update 739-zos_copy-volume-symbol-test.yml Update description to use symbols overs special chars. * Update test case with added comments Signed-off-by: ddimatos <[email protected]> --------- Signed-off-by: ddimatos <[email protected]> * bring in updates to zos_gather_facts RETURN docstring (#744) Signed-off-by: Ketan Kelkar <[email protected]> * Solve problem 619 about set mode on dest file (#746) * Solve problem 619 about set mode on dest file * Add fragment of 746 PR --------- Co-authored-by: Andre Marcel Gutierrez Benitez <[email protected]> * Merge release tasks for v1.5.0 into release branch (#752) * Updated metadata * Updated copyright information * Updated copyright in README * Generated changelog * Added previous versions to changelog * Changed a minor_change fragment to bugfix * Updated release notes * Update dependency finder to allow for all tests minus skip tests Signed-off-by: ddimatos <[email protected]> * Update release notes and changelog with full date formats Signed-off-by: ddimatos <[email protected]> --------- Signed-off-by: ddimatos <[email protected]> Co-authored-by: ddimatos <[email protected]> * remove changelog fragments no longer needed (#754) Signed-off-by: ddimatos <[email protected]> --------- Signed-off-by: ddimatos <[email protected]> Signed-off-by: Ketan Kelkar <[email protected]> Co-authored-by: Ivan Moreno <[email protected]> Co-authored-by: Fernando Flores <[email protected]> Co-authored-by: Rich Parker <[email protected]> Co-authored-by: ketankelkar <[email protected]> Co-authored-by: André Marcel Gutiérrez Benítez <[email protected]> Co-authored-by: Andre Marcel Gutierrez Benitez <[email protected]>
1 parent e3dd3b7 commit 40bbca5

29 files changed

+1090
-237
lines changed

CHANGELOG.rst

Lines changed: 84 additions & 33 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ and ansible-doc to automate tasks on z/OS.
4949

5050
Ansible version compatibility
5151
=============================
52-
This collection has been tested against the following Ansible versions: >=2.9,<=2.14.1.
52+
This collection has been tested against the following Ansible versions: >=2.9,<2.15.
5353

5454
Copyright
5555
=========
56-
© Copyright IBM Corporation 2020-2021.
56+
© Copyright IBM Corporation 2020-2023.
5757

5858
License
5959
=======

changelogs/.plugin-cache.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ plugins:
109109
shell: {}
110110
strategy: {}
111111
vars: {}
112-
version: 1.5.0-beta.1
112+
version: 1.5.0

changelogs/changelog.yaml

Lines changed: 176 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ releases:
232232
- v1.3.3_summary.yml
233233
- v1.3.3_summary_bugs.yml
234234
release_date: '2022-06-07'
235-
1.3.4:
235+
1.3.5:
236236
changes:
237237
bugfixes:
238238
- "zos_ssh - connection plugin was updated to correct a bug in Ansible that\n
@@ -251,6 +251,79 @@ releases:
251251
- 328-rename-retries-to-reconnection_retries.yml
252252
- v1.3.4_summary.yml
253253
release_date: '2022-06-07'
254+
1.3.6:
255+
changes:
256+
bugfixes:
257+
- jobs.py - fixes a utility used by module `zos_job_output` that would truncate
258+
the DD content. (https://github.com/ansible-collections/ibm_zos_core/pull/462)
259+
- zos_copy - fixes a bug that when a directory is copied from the controller
260+
to the managed node and a mode is set, the mode is now applied to the directory
261+
on the controller. If the directory being copied contains files and mode is
262+
set, mode will only be applied to the files being copied not the pre-existing
263+
files.(https://github.com/ansible-collections/ibm_zos_core/pull/462)
264+
- zos_copy - fixes a bug where options were not defined in the module argument
265+
spec that will result in error when running `ansible-core` 2.11 and using
266+
options `force` or `mode`. (https://github.com/ansible-collections/ibm_zos_core/pull/462)
267+
- zos_fetch - fixes a bug where an option was not defined in the module argument
268+
spec that will result in error when running `ansible-core` 2.11 and using
269+
option `encoding`. (https://github.com/ansible-collections/ibm_zos_core/pull/462)
270+
- zos_job_submit - fixes a bug where an option was not defined in the module
271+
argument spec that will result in error when running `ansible-core` 2.11 and
272+
using option `encoding`. (https://github.com/ansible-collections/ibm_zos_core/pull/462)
273+
- zos_ssh - fixes connection plugin which will error when using `ansible-core`
274+
2.11 with an `AttributeError module 'ansible.constants' has no attribute 'ANSIBLE_SSH_CONTROL_PATH_DIR'`.
275+
(https://github.com/ansible-collections/ibm_zos_core/pull/462)
276+
- zos_ssh - fixes connection plugin which will error when using `ansible-core`
277+
2.11 with an `AttributeError module 'ansible.constants' has no attribute 'ANSIBLE_SSH_CONTROL_PATH_DIR'`.
278+
(https://github.com/ansible-collections/ibm_zos_core/pull/513)
279+
minor_changes:
280+
- zos_copy - was enhanced for when `src` is a directory and ends with "/", the
281+
contents of it will be copied into the root of `dest`. If it doesn't end with
282+
"/", the directory itself will be copied. (https://github.com/ansible-collections/ibm_zos_core/pull/515)
283+
release_summary: "Release Date: '2022-10-07'\nThis changelog describes all changes
284+
made to the modules and plugins included\nin this collection. The release
285+
date is the date the changelog is created.\nFor additional details such as
286+
required dependencies and availability review\nthe collections `release notes
287+
<https://ibm.github.io/z_ansible_collections_doc/ibm_zos_core/docs/source/release_notes.html>`__
288+
\n"
289+
fragments:
290+
- 462-copy-fetch-submit-utils.yml
291+
- 513-zos_ssh-support-ansible-2.11.yml
292+
- 515-copy-support-directories.yml
293+
- v1.3.6_summary.yml
294+
release_date: '2022-10-07'
295+
1.4.0:
296+
changes:
297+
minor_changes:
298+
- zos_copy - enhanced to optimize how it captures the permission bits state
299+
for the `dest`. This change now reviews the source files instead of traversing
300+
the entire `dest` path. (https://github.com/ansible-collections/ibm_zos_core/pull/561)
301+
- zos_copy - enhanced to support creating a parent directory when it does not
302+
exist in the `dest` path. Prior to this change, if a parent directory anywhere
303+
in the path did not exist the task would fail as it was stated in documentation.
304+
(https://github.com/ansible-collections/ibm_zos_core/pull/561)
305+
- "zos_copy - enhanced to support system symbols in PARMLIB. System symbols
306+
are elements that allow different z/OS\xAE systems to share PARMLIB definitions
307+
while retaining unique values in those definitions. This was fixed in a future
308+
release through the use of one of the ZOAU dependency but this version of
309+
`ibm_zos_core` does not support that dependency version so this support was
310+
added. (https://github.com/ansible-collections/ibm_zos_core/pull/566)"
311+
release_summary: 'Release Date: ''2022-12-07''
312+
313+
This changelog describes all changes made to the modules and plugins included
314+
315+
in this collection. The release date is the date the changelog is created.
316+
317+
For additional details such as required dependencies and availability review
318+
319+
the collections `release notes <https://ibm.github.io/z_ansible_collections_doc/ibm_zos_core/docs/source/release_notes.html>`__
320+
321+
'
322+
fragments:
323+
- 561-update-directory-create.yml
324+
- 566-update-with-symbol-support.yml
325+
- v1.4.0_summary.yml
326+
release_date: '2022-12-07'
254327
1.4.0-beta.1:
255328
changes:
256329
bugfixes:
@@ -378,22 +451,118 @@ releases:
378451
- 507-display-specific-ddname.yml
379452
- v1.4.0-beta.2_summary.yml
380453
release_date: '2022-10-13'
454+
1.4.1:
455+
changes:
456+
bugfixes:
457+
- zos_copy - Copy failed from a loadlib member to another loadlib member. Fix
458+
now looks for error in stdout in the if statement to use -X option. (https://github.com/ansible-collections/ibm_zos_core/pull/640)
459+
- zos_copy - Fixed a bug where the module would change the mode for a directory
460+
when copying into it the contents of another. (https://github.com/ansible-collections/ibm_zos_core/pull/742)
461+
- zos_copy - Fixes a bug where files not encoded in IBM-1047 would trigger an
462+
error while computing the record length for a new destination dataset. Issue
463+
664. (https://github.com/ansible-collections/ibm_zos_core/pull/732)
464+
- zos_copy - Fixes a bug where the code for fixing an issue with newlines in
465+
files (issue 599) would use the wrong encoding for normalization. Issue 678.
466+
(https://github.com/ansible-collections/ibm_zos_core/pull/732)
467+
- zos_copy - fixed wrongful creation of destination backups when module option
468+
`force` is true, creating emergency backups meant to restore the system to
469+
its initial state in case of a module failure only when force is false. (https://github.com/ansible-collections/ibm_zos_core/pull/590)
470+
- zos_copy - fixes a bug where the computed record length for a new destination
471+
dataset would include newline characters. (https://github.com/ansible-collections/ibm_zos_core/pull/620)
472+
- zos_job_query - fixes a bug where a boolean was not being properly compared.
473+
(https://github.com/ansible-collections/ibm_zos_core/pull/379)
474+
release_summary: 'Release Date: ''2023-04-18''
475+
476+
This changelog describes all changes made to the modules and plugins included
477+
478+
in this collection. The release date is the date the changelog is created.
479+
480+
For additional details such as required dependencies and availability review
481+
482+
the collections `release notes <https://ibm.github.io/z_ansible_collections_doc/ibm_zos_core/docs/source/release_notes.html>`__
483+
484+
'
485+
fragments:
486+
- 579-zos-query-boolean-correction.yml
487+
- 588-update-emergency-backup.yml
488+
- 599-copy-carriage-return.yml
489+
- 601-copy-loadlib-member.yml
490+
- 728-zos_operator-example-updates.yml
491+
- 732-zos_copy-encoding-bugs.yml
492+
- 742_zos_copy-mode-is-applied-to-the-destination-directory-a-deviation-from-the-communtiy-module-behavior.yaml
493+
- v1.4.1_summary.yml
494+
release_date: '2023-04-18'
495+
1.5.0:
496+
changes:
497+
bugfixes:
498+
- zos_copy - Copy failed from a loadlib member to another loadlib member. Fix
499+
now looks for error in stdout in the if statement to use -X option. (https://github.com/ansible-collections/ibm_zos_core/pull/641)
500+
- zos_copy - Fixed a bug where the module would change the mode for a directory
501+
when copying into it the contents of another. (https://github.com/ansible-collections/ibm_zos_core/pull/746)
502+
- zos_copy - Fixes a bug where files not encoded in IBM-1047 would trigger an
503+
error while computing the record length for a new destination dataset. Issue
504+
664. (https://github.com/ansible-collections/ibm_zos_core/pull/725)
505+
- zos_copy - Fixes a bug where the code for fixing an issue with newlines in
506+
files (issue 599) would use the wrong encoding for normalization. Issue 678.
507+
(https://github.com/ansible-collections/ibm_zos_core/pull/725)
508+
- zos_job_submit - Fixes the issue when `wait_time_s` was set to 0 that would
509+
result in a `type` error that a stack trace would result in the response,
510+
issue 670. (https://github.com/ansible-collections/ibm_zos_core/pull/683)
511+
- zos_job_submit - Fixes the issue when a job encounters a security exception
512+
no job log would would result in the response, issue 684. (https://github.com/ansible-collections/ibm_zos_core/pull/683)
513+
- zos_job_submit - Fixes the issue when a job is configured for a syntax check
514+
using TYPRUN=SCAN that it would wait the full duration set by `wait_time_s`
515+
to return a response, issue 685. (https://github.com/ansible-collections/ibm_zos_core/pull/683)
516+
- zos_job_submit - Fixes the issue when a job is configured for a syntax check
517+
using TYPRUN=SCAN that no job log would result in the response, issue 685.
518+
(https://github.com/ansible-collections/ibm_zos_core/pull/683)
519+
- zos_job_submit - Fixes the issue when a job is purged by the system that a
520+
stack trace would result in the response, issue 681. (https://github.com/ansible-collections/ibm_zos_core/pull/683)
521+
- zos_job_submit - Fixes the issue when invalid JCL syntax is submitted that
522+
a stack trace would result in the response, issue 623. (https://github.com/ansible-collections/ibm_zos_core/pull/683)
523+
- zos_job_submit - Fixes the issue when resources (data sets) identified in
524+
JCL did not exist such that a stack trace would result in the response, issue
525+
624. (https://github.com/ansible-collections/ibm_zos_core/pull/683)
526+
- zos_job_submit - Fixes the issue where the response did not include the job
527+
log when a non-zero return code would occur, issue 655. (https://github.com/ansible-collections/ibm_zos_core/pull/683)
528+
- zos_operator - fixed incorrect example descriptions and updated the doc to
529+
highlight the deprecated option `wait`. (https://github.com/ansible-collections/ibm_zos_core/pull/648)
530+
release_summary: 'Release Date: ''2023-04-21''
531+
532+
This changelog describes all changes made to the modules and plugins included
533+
534+
in this collection. The release date is the date the changelog is created.
535+
536+
For additional details such as required dependencies and availability review
537+
538+
the collections `release notes <https://ibm.github.io/z_ansible_collections_doc/ibm_zos_core/docs/source/release_notes.html>`__'
539+
fragments:
540+
- 641-copy-loadlib-member.yml
541+
- 648-zos_operator-examples.yml
542+
- 663-zos_gather_facts-update-docstring.yml
543+
- 683-zos_job_submit-bugs.yml
544+
- 725-zos_copy-encoding-bugs.yml
545+
- 729-zos_operator-example-added.yml
546+
- 739-zos_copy-volume-symbol-test.yml
547+
- 746--Mode-set-for-files-is-applied-to-destination-directory.yml
548+
- v1.5.0_summary.yml
549+
release_date: '2023-04-21'
381550
1.5.0-beta.1:
382551
changes:
383552
bugfixes:
384553
- zos_copy - Fixes a bug such that the module fails when copying files from
385554
a directory needing also to be encoded. The failure would also delete the
386555
`src` which was not desirable behavior. Fixes deletion of src on encoding
387556
error. (https://github.com/ansible-collections/ibm_zos_core/pull/321).
388-
- zos_copy - Fixes wrongful creation of destination backups when module option
389-
`force` is true, creating emergency backups meant to restore the system to
390-
its initial state in case of a module failure only when force is false. (https://github.com/ansible-collections/ibm_zos_core/pull/590)
391557
- zos_copy - Fixes a bug where copying a member from a loadlib to another loadlib
392558
fails. (https://github.com/ansible-collections/ibm_zos_core/pull/640)
393559
- zos_copy - Fixes a bug where if a destination has accented characters in its
394560
content, the module would fail when trying to determine if it is empty. (https://github.com/ansible-collections/ibm_zos_core/pull/634)
395561
- zos_copy - Fixes a bug where the computed record length for a new destination
396562
dataset would include newline characters. (https://github.com/ansible-collections/ibm_zos_core/pull/620)
563+
- zos_copy - Fixes wrongful creation of destination backups when module option
564+
`force` is true, creating emergency backups meant to restore the system to
565+
its initial state in case of a module failure only when force is false. (https://github.com/ansible-collections/ibm_zos_core/pull/590)
397566
- zos_copy - module was updated to correct a bug in the case when the destination
398567
(dest) is a PDSE and the source (src) is a Unix Systems File (USS). The module
399568
would fail in determining if the PDSE actually existed and try to create it
@@ -406,8 +575,8 @@ releases:
406575
the module should look for the data set, whether or not it is cataloged. (https://github.com/ansible-collections/ibm_zos_core/pull/325).
407576
- zos_data_set - Fixes a bug where the default record format FB was actually
408577
never enforced and when enforced it would cause VSAM creation to fail with
409-
a Dynalloc failure. Also cleans up some of the options that are set by
410-
default when they have no bearing for batch. (https://github.com/ansible-collections/ibm_zos_core/pull/647)
578+
a Dynalloc failure. Also cleans up some of the options that are set by default
579+
when they have no bearing for batch. (https://github.com/ansible-collections/ibm_zos_core/pull/647)
411580
- zos_fetch - Updates the modules behavior when fetching VSAM data sets such
412581
that the maximum record length is now determined when creating a temporary
413582
data set to copy the VSAM data into and a variable-length (VB) data set is
@@ -515,7 +684,7 @@ releases:
515684
behaviors and reduces the possibility to encounter a permissions issue. (https://github.com/ansible-collections/ibm_zos_core/issues/389).
516685
- zos_job_submit - was updated to include an additional error code condition
517686
JCLERR. (https://github.com/ansible-collections/ibm_zos_core/pull/312)
518-
- zos_lineinfile- updates the module with a new option named tmp_hlq. This allows
687+
- zos_lineinfile - updates the module with a new option named tmp_hlq. This allows
519688
for a user to specify the data set high level qualifier (HLQ) used in any
520689
temporary data set created by the module. Often, the defaults are not permitted
521690
on systems, this provides a way to override the defaults. (https://github.com/ansible-collections/ibm_zos_core/pull/341).

changelogs/fragments/588-zos_copy-emergenxy-backup.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

changelogs/fragments/599-copy-carriage-return.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelogs/fragments/600-zos_copy-special-characters.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelogs/fragments/601-copy-loadlib-member.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/627-all-modules.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

changelogs/fragments/647-zos_data_set_record_format.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)