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

RHEL-08-010291 Has Incorrect Regex #174

Closed
JacobBuskirk opened this issue Feb 22, 2023 · 1 comment · Fixed by #179
Closed

RHEL-08-010291 Has Incorrect Regex #174

JacobBuskirk opened this issue Feb 22, 2023 · 1 comment · Fixed by #179
Assignees
Labels
bug Something isn't working

Comments

@JacobBuskirk
Copy link
Contributor

Describe the Issue
RHEL-08-010291 line gets written repeatedly due to incorrect regex

Expected Behavior
Line doesn't get added repeatedly

Actual Behavior
Line is only added once

Control(s) Affected
RHEL-08-010291

Environment (please complete the following information):

  • Ansible Version: 2.9.27
  • Host Python Version: 3.6.8
  • Ansible Server Python Version: 3.6.8

Additional Notes
Due to RHEL-08-040342 having the same starting line, the existing regex doesn't work

Possible Solution
Change regexp to "^CRYPTO_POLICY='{{ rhel8stig_ssh_server_crypto_settings }}'"

@JacobBuskirk JacobBuskirk added the bug Something isn't working label Feb 22, 2023
JacobBuskirk added a commit to JacobBuskirk/RHEL8-STIG that referenced this issue Feb 22, 2023
@uk-bolly uk-bolly self-assigned this Feb 28, 2023
@uk-bolly uk-bolly linked a pull request Mar 3, 2023 that will close this issue
@JacobBuskirk
Copy link
Contributor Author

Closing since this has been merged in

uk-bolly pushed a commit that referenced this issue May 24, 2024
Signed-off-by: Jacob Buskirk <[email protected]>
Signed-off-by: Mark Bolwell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants