-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
RH294 - RHEL9.0-en-2-20221117
-
None
-
False
-
-
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: