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

RH294: Ch10s04: The lab will only succeed if you create a primary group called developer and add the webdev group as a secondary group.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • RH294 - RHEL9.0-en-2-20221117
    • RH294
    • None
    • False
    • Hide

      None

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

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh294-9.0/pages/ch10s04 
      Reporter RHNID: wasim-rhls
      Section Title:             Lab: Managing Linux Hosts and Using System Roles                                                           

      Issue description

      The lab will only succeed if you create a primary group called developer and add the webdev group as a secondary group. The instructions only tell you to add the user to the webdev group so if you make webdev the primary group it will fail. The lab doesn't say anything about creating a primary group "developer".

      This will work because it creates a primary group of "developer" add adds the user to webdev as a secondary group.

      ansible.builtin.user
      name: developer
      groups: webdev

      This will not work because of the way your lab grading script is checking this with: id -Gn "{{ user }}" | grep -E "{{ user }}"

      ansible.builtin.user
      name: developer
      group: webdev

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              glsbugs-automation@redhat.com PTL - Ansible Team
              wraja@redhat.com Wasim Raja
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: