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

RH294-78: LAB CREATING ROLES AND USING DYNAMIC INVENTORY - wrong solution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH294 - RHEL 8.4 0
    • RH294 - RHEL 8 1 20190531
    • RH294
    • None
    • 11
    • ILT, ROLE, VT
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)||||||||
      Workaround: Fix the course.

      Description: INSTRUCTIONS

      "3. Use ansible-doc -l to find a module that can make a file system on a block
      device. Use ansible-doc to learn how to use that module. Add a task to the
      playbook that uses this module to create an XFS file system on /dev/vdb1. Do not
      force creation of that file system if one exists already."

      So you must do not force the creation of that filesystem.

      The solution is forcing that!

      • name: XFS file system exists on /dev/vdb1
          filesystem:
            dev: /dev/vdb1
            fstype: xfs
            force: yes 

      Now try to rerun your playbook - it will FAIL, because of that.

            ghacker_jira George Hacker (Inactive)
            dpuchalak Dariusz Puchalak (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: