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

RH294v9:ch02s04 : a warning is generated, "Could not match supplied host pattern, ignoring: workstation" and no hosts are matched for the playbook execution.

XMLWordPrintable

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

      None

      Show
      None
    • False
    • 2
    • ROLE
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/rh294-9.0/pages/ch02s04 
      Reporter RHNID: chetan-rhls
      Section Title:       Guided Exercise: Managing Ansible Configuration Files                                             

      Issue description: 

      In rh294-9.0 ch02s04 steps 4.1 and 4.5, the group [myself] is used but the playbook, ping-myself.yml, references the group [workstation]. Thus a warning is generated, "Could not match supplied host pattern, ignoring: workstation" and no hosts are matched for the playbook execution.

      This can be fixed either by updating the lab playbook to use "hosts: myself" or to update the lab instructions to define the "[workstation]" group instead. 

       

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

        1. image-2024-07-02-15-41-24-648.png
          172 kB
          Alejandra Ramirez
        2. image-2024-07-02-15-46-12-401.png
          37 kB
          Alejandra Ramirez

            glsbugs-automation@redhat.com PTL - Ansible Team
            chetan-rhls Chetan Tiwary
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: