Skip to content

Conversation

@saito-hideki
Copy link
Collaborator

@saito-hideki saito-hideki commented Dec 4, 2025

SUMMARY

Add allow_duplicate option to sysctl module to address AAP-59588
When this option is specified with state: present, it allows duplicate parameters
in the generated sysctl.conf file.

When allow_duplicate: false (default), the previous behavior remains unchanged.
If the original sysctl.conf file contains duplicate parameters, they are not permitted, and the latest one will be adopted.

For example, if the content were as follows:

fs.file-max=100
fs.file-max=999

Duplicates will be removed as follows:

fs.file-max=999

allow_duplicate: true allows the above duplicate contents.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • ansible.posix.sysctl
ADDITIONAL INFORMATION
None

@softwarefactory-project-zuul
Copy link
Contributor

@saito-hideki saito-hideki marked this pull request as draft December 5, 2025 00:29
When this option is specified with state:present, it allows duplicate parameters
 in the generated sysctl.conf file.

* Addresses AAP-59588

Signed-off-by: Hideki Saito <[email protected]>
@softwarefactory-project-zuul
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant