-
Notifications
You must be signed in to change notification settings - Fork 739
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
Job for auditd.service invalid #716
Comments
I have the same issue, but with a different kind of host. The host I want to set up with ansible is Debian running in a lxc container. Just writing this, in case anyone else is having the same issue and searching for a solution. Don't know if this was actually the same root cause as @fernandoeickhoff-lk had. I guess this issue #191 is related, but there is no detailed error description, so its harder to find. |
Yes, audit is not fully compatible with container environments. This seems like a general problem and the suggestion that I am able to find is, to only run auditing on the host linux and not in the containers. Maybe it's best if we skip all audit tasks when we detect a container environment like docker or lxc/lxd. Opinions on this @rndmh3ro? |
Things seems more complicated. Additional Information: |
Description
I updated my ansible collection to use the latest release 9.0.0 expecting a common issue I was having in my playbooks to have being solved, but after the upgrade the issue persist.
Reproduction steps
Declare the usage of the role with the following arguments:
Current Behavior
I am receiving the following error:
Expected Behavior
A success in the
devsec.hardening.os_hardening
role executionOS / Environment
I'm running ansible inside an aws ebs host provisioned by packer https://developer.hashicorp.com/packer/integrations/hashicorp/amazon/latest/components/builder/ebs
Ansible Version
latest from
apt-get install -y ansible
Collection Version
The text was updated successfully, but these errors were encountered: