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

Fix Ansible compatibility with sysctl module #11537

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

marcusburghardt
Copy link
Member

Description:

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.

Rationale:

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
explicity collection is not mandadotory, we can leave it implicit for
this particular case so each Ansible version can manage it properly.
@marcusburghardt marcusburghardt added 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

@Mab879
Copy link
Member

Mab879 commented Feb 2, 2024

/packit retest-failed

Copy link

codeclimate bot commented Feb 2, 2024

Code Climate has analyzed commit 6319439 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 58.3% (0.0% change).

View more on Code Climate.

@Mab879 Mab879 merged commit e6400e6 into ComplianceAsCode:master Feb 2, 2024
38 of 42 checks passed
@marcusburghardt marcusburghardt deleted the sysctl_fqcn branch February 3, 2024 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Review set_nftables_loopback_traffic for RHEL7
2 participants