Ubuntu1804-CIS
Ubuntu1804-CIS copied to clipboard
collections' is not a valid attribute for a RoleMetadata
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
On ansible 2.7 the same error. After updating to the last version all works fine.
ansible --version
ansible 2.10.7
Try it.