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

restart auditd fails when -e 2 is set #77

Open
divansantana opened this issue Jun 6, 2023 · 2 comments
Open

restart auditd fails when -e 2 is set #77

divansantana opened this issue Jun 6, 2023 · 2 comments

Comments

@divansantana
Copy link

In the case of auditing system be locked, with -e 2 flag, then the handler fails to execute and the playbook is marked as failed.

I think setting ignore_errors: True would be better.

@dsglaser
Copy link
Owner

ignoring errors in Ansible is generally frowned upon. What are you referring to in that the 'auditing system be locked'?

Thanks,
Dave

@divansantana
Copy link
Author

It seems the auditing system is locked with the -e 2. So doing a restart auditd fails AFAIK, because it requires a system restart to load the new changes.

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