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

Stabilization - Fix Ansible compatibility with sysctl module #11538

Conversation

marcusburghardt
Copy link
Member

Description:

Backport #11537 to stabilization-0.1.72 branch.

In older versions of Ansible, such as the version included with RHEL7,
the sysctl module was part of the ansible.builtin collection. But in
most recent versions it belongs to the ansible.posix collection. Since
explicit collection is not mandatory, we can leave it implicit for this
particular case so each Ansible version can manage it properly.
@marcusburghardt marcusburghardt added Ansible Ansible remediation update. backported-into-stabilization PRs which were cherry-picked during stabilization process. RHEL7 Red Hat Enterprise Linux 7 product related. RHEL8 Red Hat Enterprise Linux 8 product related. labels Feb 2, 2024
@marcusburghardt marcusburghardt added this to the 0.1.72 milestone Feb 2, 2024
@Mab879 Mab879 self-assigned this Feb 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

Start a new ephemeral environment with changes proposed in this pull request:

rhel8 (from CTF) Environment (using Fedora as testing environment)
Open in Gitpod

Fedora Testing Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link
Member

@Mab879 Mab879 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waving Automatus as there are only tests SLE

@Mab879 Mab879 merged commit 7fb44f7 into ComplianceAsCode:stabilization-v0.1.72 Feb 2, 2024
32 of 37 checks passed
@marcusburghardt marcusburghardt deleted the sysctl_fqcn_stab branch February 2, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ansible Ansible remediation update. backported-into-stabilization PRs which were cherry-picked during stabilization process. RHEL7 Red Hat Enterprise Linux 7 product related. RHEL8 Red Hat Enterprise Linux 8 product related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants