There are a couple of errors in the Red Hat Enterprise Linux Automation with Ansible 9.0 (RH294), 7.6 guided exercise.
The first is a typo:
user2 should be student2
---
The second is here:
The line become_ask_pass=False is not in the [defaults] section in the ansible.cfg that is deplyed to workstation. Instead, it is in the [privilege_escalation] section (where it should be), as seen here:
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.