-
Bug
-
Resolution: Unresolved
-
Major
-
RH294 - RHEL9.0-en-5-20250627
-
None
-
False
-
-
False
-
-
-
en-US (English)
Please fill in the following information:
| URL: | https://rol.redhat.com/rol/app/courses/rh294-9.0/pages/ch10s04 |
| Reporter RHNID: | h520733 |
| Section Title: | Lab: Managing Linux Hosts and Using System Roles |
Issue description
User Feedback
Description: Hello, I think there is a bug in rhce lab review-cr3
task:
- name: Create user accounts
ansible.builtin.user:
name: developer
groups: webdev
password: "{{ pwhash }}"
but the ansible lab playbook which checks if user exists run command:
id -Gn "{{ user }}" | grep -E "{{ user }}"
should be instead:
id -nG developer | grep -E webdev
Steps to reproduce:
Workaround:
Expected result: