8000 RHEL 10 Ansible fixes by jan-cerny · Pull Request #13458 · ComplianceAsCode/content · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RHEL 10 Ansible fixes #13458

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

Merged
merged 2 commits into from
May 13, 2025
Merged

Conversation

jan-cerny
Copy link
Collaborator

This PR fixes failing /per-rule/ansible tests on RHEL 10.0.

Some of the fails on RHEL 10 were also present in RHEL 9 so they will be fixed in #13455, here are only thos that manifested specifically in RHEL 10.

For more details, please read commit messages of every commit.

jan-cerny added 2 commits May 13, 2025 14:43
The template parameter `no_remediation` will cause that the templated
test scenarios will contain `# remediation = none`. This is needed
because the sysctl option can't be remediated at runtime.
This change will ensure that the /etc/audit/rules.d/ directory
is empty and doesn't contain any other files than the file created
by the test scenario. The other files could affect the
test results if they exist.
@jan-cerny jan-cerny added this to the 0.1.77 milestone May 13, 2025
@jan-cerny jan-cerny added the Ansible Ansible remediation update. label May 13, 2025
Copy link
codeclimate bot commented May 13, 2025

Code Climate has analyzed commit 1c034d8 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

@Mab879 Mab879 self-assigned this May 13, 2025
@Mab879
Copy link
Member
Mab879 commented May 13, 2025

Waving Automatus as they pass locally.

@Mab879 Mab879 merged commit 10059b4 into ComplianceAsCode:master May 13, 2025
104 of 110 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ansible Ansible remediation update.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0