Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
74bf13f
Refactor name to type
fernandofloresg Aug 25, 2025
a36b01a
Updated tests
fernandofloresg Aug 25, 2025
614635b
Corrected some dls commands so that it only fetches for the correct d…
fernandofloresg Aug 26, 2025
0d663ea
Enhanced last test
fernandofloresg Aug 26, 2025
841f313
Update test_zos_archive_func.py
fernandofloresg Aug 26, 2025
035451d
Merge branch 'dev' into enhancement/2140/zos_archive
fernandofloresg Aug 26, 2025
9a027e5
Fixed test
fernandofloresg Aug 26, 2025
bb7f97c
Merge branch 'enhancement/2140/zos_archive' of github.com:ansible-col…
fernandofloresg Aug 26, 2025
5898a4d
Modified spack keywrod
fernandofloresg Aug 26, 2025
3cd70d0
Replace use_adrdssu keyword
fernandofloresg Aug 26, 2025
2ad2774
Documented dest
fernandofloresg Aug 26, 2025
66cba82
Merge branch 'dev' into enhancement/2140/zos_archive
fernandofloresg Aug 26, 2025
62bb24c
Updated docs
fernandofloresg Aug 26, 2025
f185030
Merge branch 'enhancement/2140/zos_archive' of github.com:ansible-col…
fernandofloresg Aug 26, 2025
8e3d476
Updated options
fernandofloresg Aug 26, 2025
231188b
Updated aliases
fernandofloresg Aug 27, 2025
f86feef
Updated format options aliaases
fernandofloresg Aug 27, 2025
359b174
Updated argument spec with format options alias
fernandofloresg Aug 27, 2025
081d786
Added changelogs
fernandofloresg Aug 27, 2025
effd062
Updated aliases
fernandofloresg Aug 27, 2025
0fbdbd9
Removed arg parser validation not needed
fernandofloresg Aug 27, 2025
0a55268
Fixed zos_copy changing force to replace
fernandofloresg Aug 27, 2025
a833eba
Fixed failing zos_find test case
fernandofloresg Aug 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changelogs/fragments/2256-zos_archive-interface-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
breaking_changes:
- zos_lineinfile - Option ``format.format_options`` is deprecated in favor of ``format.options``.
Option ``format.format_options.name`` is deprecated in favor of ``format.options.type``.
Option ``format.format_options.use_adrdssu`` is deprecated in favor of ``format.options.use_adrdssu``.
Option ``format.format_options.terse_pack`` is deprecated in favor of ``format.options.spack`` as a new boolean option.
(https://github.com/ansible-collections/ibm_zos_core/pull/2256).

2 changes: 1 addition & 1 deletion plugins/action/zos_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def run(self, tmp=None, task_vars=None):
copy_module_args = dict(
src=script_path,
dest=tempfile_path,
force=True,
replace=True,
is_binary=False,
encoding=module_args.get('encoding'),
use_template=module_args.get('use_template', False),
Expand Down
2 changes: 1 addition & 1 deletion plugins/action/zos_unarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def run(self, tmp=None, task_vars=None):
src=source,
dest=dest,
dest_data_set=dest_data_set,
force=force,
replace=force,
is_binary=True,
)
)
Expand Down
6 changes: 0 additions & 6 deletions plugins/module_utils/better_arg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,12 +1108,6 @@ def _add_alias(self, arg_name, arg_aliases=None, aliases=None):
aliases = {}
arg_aliases.append(arg_name)
for alternate_name in arg_aliases:
if aliases.get(alternate_name, arg_name) != arg_name:
raise ValueError(
'Conflicting aliases "{0}" and "{1}" found for name "{2}"'.format(
aliases.get(alternate_name), alternate_name, arg_name
)
)
aliases[alternate_name] = arg_name
return aliases

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/zos_apf.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def main():
deprecated_aliases=[
dict(
name='data_set_name',
version='2.0.0',
version='3.0.0',
collection_name='ibm.ibm_zos_core')
],
),
Expand Down
Loading