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

cis_5.2.x.yml - 5.2.15 - Fatal error. #205

Closed
bryansullins opened this issue Apr 9, 2021 · 3 comments
Closed

cis_5.2.x.yml - 5.2.15 - Fatal error. #205

bryansullins opened this issue Apr 9, 2021 · 3 comments

Comments

@bryansullins
Copy link

TASK [RHEL7-CIS : SCORED | 5.2.15 | PATCH | Ensure only strong Key Exchange algorithms are used] ***
fatal: [default]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'kex'\n\nThe error appears to be in 'ansible/roles/RHEL7-CIS/tasks/section_5/cis_5.2.x.yml': line 272, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: "SCORED | 5.2.15 | PATCH | Ensure only strong Key Exchange algorithms are used"\n ^ here\n"}

@uk-bolly
Copy link
Member

Hi @bryansullins

If you could check you are using the last version from https://github.com/ansible-lockdown/RHEL7-CIS
The default variables has the kex variable (ssh key exchange) set and i am unable to reproduce your issue.

If you are coming from a previous version, there has been many changes not only CIS requirements but also in the way the playbook runs.

Any information you are able to provide with regard your setup, if the above does not resolve your issue.

uk-bolly

@uk-bolly
Copy link
Member

Hi @bryansullins

Have you managed to confirm if the issue still exists for you?

uk-bolly

@bryansullins
Copy link
Author

Thank you so much - I did not. I had an internal release that had to happen.

I worked around it by hard-coding the change in one of our other workflow playbooks.

We will try again next quarter. You can close this for now if you like.

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