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

Changed regex to account for different whitespace and grouping #188

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

dderemiah
Copy link
Contributor

Changed regex to account for different whitespace and grouping Defaults in sudoers

Overall Review of Changes:
Changed the regex in 5.3.x to match when whitespace is not the same and timeout was being put at the EOF. so added insertafter setting
Issue Fixes:
Fixes Defaults grouping all together in sudoers

Enhancements:
Changed the regex to whitespace instead of specific tabbing

How has this been tested?:
tested locally

Copy link
Contributor

@georgenalen georgenalen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@georgenalen georgenalen merged commit e1a80a7 into ansible-lockdown:devel Dec 28, 2023
3 checks passed
@dderemiah dderemiah deleted the regex-5.3.x branch January 3, 2024 22:23
@uk-bolly uk-bolly mentioned this pull request Mar 11, 2024
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

Successfully merging this pull request may close these issues.

2 participants