Have tested on a couple of Ubuntu machines and the issue persists.
ERROR! 'collections' is not a valid attribute for a RoleMetadata
The error appears to have been in '/etc/ansible/roles/Ubuntu1804-CIS/meta/main.yml': line 2, column 1, but may
be elsewhere in the file depending on the exact syntax problem.
Have followed the steps to install via here: https://cloudsecuritylife.com/cis-ubuntu-script-to-automate-server-hardening/
Have tested on a couple of Ubuntu machines and the issue persists.
ERROR! 'collections' is not a valid attribute for a RoleMetadata
The error appears to have been in '/etc/ansible/roles/Ubuntu1804-CIS/meta/main.yml': line 2, column 1, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
galaxy_info: ^ here