Skip to content

Remove custom Ansible remediation from service_pcscd_enabled#13926

Merged
ggbecker merged 1 commit into
ComplianceAsCode:masterfrom
jan-cerny:pcsd
Sep 29, 2025
Merged

Remove custom Ansible remediation from service_pcscd_enabled#13926
ggbecker merged 1 commit into
ComplianceAsCode:masterfrom
jan-cerny:pcsd

Conversation

@jan-cerny
Copy link
Copy Markdown
Collaborator

This Ansible remediation isn't idempotent because it contains an unwanted call of the "ansible.builtin.command" module. It can be easily replaced by the remediation generated from the service_enabled template. The rule had a custom Ansible remeditaion as a fix for issue #8002. However, this issue is no longer reproducible with the templated remeditaion, which means don't need the custom remediation anymore.

Resolves: https://issues.redhat.com/browse/OPENSCAP-6243

This Ansible remediation isn't idempotent because it contains an
unwanted call of the "ansible.builtin.command" module.  It can be easily
replaced by the remediation generated from the service_enabled template.
The rule had a custom Ansible remeditaion as a fix for issue
ComplianceAsCode#8002.  However, this
issue is no longer reproducible with the templated remeditaion, which
means don't need the custom remediation anymore.

Resolves: https://issues.redhat.com/browse/OPENSCAP-6243
@jan-cerny jan-cerny added this to the 0.1.79 milestone Sep 25, 2025
@jan-cerny jan-cerny added the Ansible Ansible remediation update. label Sep 25, 2025
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Sep 25, 2025

@jan-cerny: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-openshift-node-compliance 1b749fd link true /test e2e-aws-openshift-node-compliance
ci/prow/e2e-aws-openshift-platform-compliance 1b749fd link true /test e2e-aws-openshift-platform-compliance

Full PR test history. Your PR dashboard.

Details

Instructions 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-sigs/prow repository. I understand the commands that are listed here.

@ggbecker ggbecker self-assigned this Sep 29, 2025
@ggbecker ggbecker merged commit 176b977 into ComplianceAsCode:master Sep 29, 2025
135 of 138 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