ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Using /etc/ansible/ansible.cfg as config file
ERROR! the role 'fedora.linux_system_roles.snapshot' was not found in /tmp/collections-Sq1/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-Sq1/ansible_collections/fedora/linux_system_roles/tests/snapshot

The error appears to be in '/tmp/collections-Sq1/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml': line 14, 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.snapshot
      ^ here