Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15080

RH294: ch07s04 - incorrect note on trailing slash - RHT2394231

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • RH294 - RHEL9.0-en-4-20241107
    • RH294
    • None
    • False
    • Hide

      None

      Show
      None
    • 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.

       

              glsbugs-automation@redhat.com PTL - Ansible Team
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: