-
Notifications
You must be signed in to change notification settings - Fork 764
Fix Ansible for rsyslog_encrypt_offload_* #7755
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
Fix Ansible for rsyslog_encrypt_offload_* #7755
Conversation
...file_configuration/rsyslog_encrypt_offload_actionsendstreamdriverauthmode/ansible/shared.yml
Outdated
Show resolved
Hide resolved
|
The fix won't be that simple unfortunately. It needs to be fixed within one of macros. Ideally it would be nice to use the regex_escape filter. |
1554dcd to
b8d6799
Compare
|
/retest-required |
|
Just a thought, is there actually a case where we would NOT want the regex to be escaped? Would it make sense to do this implicitly? |
I think it makes sense to always escape the Also, the |
|
Also, could having |
b8d6799 to
20491c7
Compare
yuumasato
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I have just a few nitpicks, :P
...log_log_file_configuration/rsyslog_encrypt_offload_defaultnetstreamdriver/ansible/shared.yml
Outdated
Show resolved
Hide resolved
|
/retest |
|
I'm having a hard time getting |
|
Another thing I also noticed is that the OVAL checks for rsyslog_encrypt_offload_defaultnetstreamdriver and related don't handle cases when I guess we want to fail in these cases? As the Ansible remediation always removes configurations in But I think these are out of the original scope of this PR and can be handled later... |
The isuse pointed out by Jan has been addressed.
|
/retest |
|
@Mab879 LGTM, before I merge, could you address the ansible-lint issues? |
|
@Mab879: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Description:
Escaped the
$inrsyslog_encrypt_offload_*Rationale: