ansible-playbook [core 2.17.3]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.12.5 (main, Aug  7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True
No config file found; using defaults
ERROR! the role 'fedora.linux_system_roles.pam_pwd' was not found in /tmp/collections-gGe/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-gGe/ansible_collections/fedora/linux_system_roles/tests/pam_pwd

The error appears to be in '/tmp/collections-gGe/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_default.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
    - fedora.linux_system_roles.pam_pwd
      ^ here