-
Notifications
You must be signed in to change notification settings - Fork 729
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 two sysctl-settings #27
Conversation
@@ -83,7 +83,7 @@ sysctl_config: | |||
# This settings controls how the kernel behaves towards module changes at | |||
# runtime. Setting to 1 will disable module loading at runtime. | |||
# Setting it to 0 is actually never supported. | |||
kernel.modules_disabled: 1 | |||
# kernel.modules_disabled: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have you commented this out? Is the default behavior 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests specify that this value should be zero:
context linux_kernel_parameter('kernel.modules_disabled') do
its(:value) { should eq 0 }
end
However setting this variable to 0 with Ansible results in an error, because 0 is not supported. That's why I commented it out. The user has to enable the setting by himself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. Thanks for the clarification
8497c4a
to
f6cf4fc
Compare
Thanks for the fix @rndmh3ro |
Fix join-filter, jinja-cases, intendation
Add CentOS7 with MariaDB support
Closes: #26 Signed-off-by: Moritz Schlarb <moschlar@metalabs.de>
Fix join-filter, jinja-cases, intendation
Closes: dev-sec#26 Signed-off-by: Moritz Schlarb <moschlar@metalabs.de>
arp_announce should be 2.
I commented out
kernel.modules_disabled
so it doesn't get set at all.