-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
RH294 - RHEL9.0-en-4-20241107
-
None
-
False
-
-
False
-
7
-
-
-
en-US (English)
URL: | ch07s04 |
Reporter RHNID: | dhashimo |
Section title: | Guided Exercise: Creating Roles |
Language: | English |
Issue description
"The trailing slash causes the source directory and all of its contents to be copied to the managed host."
I think this is wrong, or at least misleading. The difference between adding the trailing slash or not is whether the directory and contents are copied (without slash) or just the contents (with slash).
With the slash, as on the given example, only the contents will be copied, not the directory itself.
Workaround:
The NOTE should say:
The absence of a trailing slash copies the source directory and its contents. The presence of a trailing slash copies only the contents of the source directory.
- is duplicated by
-
PTL-14620 Incorrect explanation of trailing slash behavior in ansible.builtin.copy module documentation
-
- Closed
-