Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collections' is not a valid attribute for a RoleMetadata #96

Open
h0mz opened this issue Mar 16, 2021 · 1 comment
Open

collections' is not a valid attribute for a RoleMetadata #96

h0mz opened this issue Mar 16, 2021 · 1 comment

Comments

@h0mz
Copy link

h0mz commented Mar 16, 2021

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

@ma3s7ro
Copy link

ma3s7ro commented Mar 19, 2021

On ansible 2.7 the same error.
After updating to the last version all works fine.

ansible --version
ansible 2.10.7

Try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants