Skip to content

Commit 0ae018c

Browse files
[Documentation][copy]Update_documentation_about_alias_and_executable_on_copy (#1969)
* Update documentation * Add fragment * Update plugins/modules/zos_copy.py Co-authored-by: Fernando Flores <[email protected]> * Update zos_copy.py --------- Co-authored-by: Fernando Flores <[email protected]>
1 parent c7e4256 commit 0ae018c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
trivial:
2+
- zos_copy - Update documentation on zos_copy option C(executable) do not copy aliases.
3+
(https://github.com/ansible-collections/ibm_zos_core/pull/1969).

plugins/modules/zos_copy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,12 @@
229229
executable:
230230
description:
231231
- If set to C(true), indicates that the file or library to be copied is an executable.
232-
- If the C(src) executable has an alias, the alias information is also copied. If the
233-
C(dest) is Unix, the alias is not visible in Unix, even though the information is there and
234-
will be visible if copied to a library.
235232
- If I(executable=true), and C(dest) is a data set, it must be a PDS or PDSE (library).
236233
- If C(dest) is a nonexistent data set, the library attributes assigned will be
237234
Undefined (U) record format with a record length of 0, block size of 32760 and the
238235
remaining attributes will be computed.
239236
- If C(dest) is a file, execute permission for the user will be added to the file (``u+x``).
237+
- If the C(src) executable has an alias, the alias will not be copied unless C(aliases=true).
240238
type: bool
241239
default: false
242240
required: false
@@ -247,6 +245,8 @@
247245
- Aliases are implicitly preserved when libraries are copied over to USS destinations.
248246
That is, when C(executable=True) and C(dest) is a USS file or directory, this option will be ignored.
249247
- Copying of aliases for text-based data sets from USS sources or to USS destinations is not currently supported.
248+
- If the C(dest) is Unix, the alias is not visible in Unix, even though the information is there and
249+
will be visible if copied to a library.
250250
type: bool
251251
default: false
252252
required: false

0 commit comments

Comments
 (0)