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

[BUG][Doc][Dynolabs] RH294 - Chapter 2 Review Lab Inventory Directions - Step 6 - Hostname Wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • RH294 - RHEL9.x NEXT
    • RH294 - RHEL9.0-en-3-20240620
    • RH294
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ILT, ROLE, VT
    • Hide

      Create the playbook with the FQDN of the workstation.lab.example.com system and it will run, but you will see the error about inventory/host pattern not matching in PURPLE.

       

      Again, you don't know this doesn't work functionally, except for the warning on the playbook output.

      Show
      Create the playbook with the FQDN of the  workstation.lab.example.com system and it will run, but you will see the error about inventory/host pattern not matching in PURPLE .   Again, you don't know this doesn't work functionally, except for the warning on the playbook output.
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh294-9.0/pages/ch02s09
      Reporter RHNID: rhn-gps--tmichett
      Section Title:                            h2. Lab: Implementing an Ansible Playbook                                            

      Issue description

      Step 6 has the student use "workstation.lab.example.com" using the FQDN. However, the solution uses the short hostname workstation and the grading files and inventory file only has the short hostnames.

      Unfortunately, the error is somewhat benign and hard to spot as the second play just doesn't run because the host pattern in inventory doesn't match and you just get a warning. The grading will succeed and give everyone a success, but the second play never runs. Unless someone notices that inventory hostname isn't matched, they think everything is good.

       

      Steps to reproduce:

      Run the lab using the FQDN as specified.

      Workaround:

      Tell student to use short hostname in the playbook

      Expected result:

      Playbook runs and executes.

            glsbugs-automation@redhat.com PTL - Ansible Team
            rhn-gps--tmichett Travis Michette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 1 minute
                1m
                Remaining:
                Remaining Estimate - 1 minute
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified