Linux sysctl kernel parameters sysctl kernel See merge request !13tags/2016.12
headers: true | headers: true | ||||
version: 4.2.0-22 | version: 4.2.0-22 | ||||
Systcl kernel parameters | |||||
.. code-block:: yaml | |||||
linux: | |||||
system: | |||||
kernel: | |||||
sysctl: | |||||
net.ipv4.tcp_keepalive_intvl: 3 | |||||
net.ipv4.tcp_keepalive_time: 30 | |||||
net.ipv4.tcp_keepalive_probes: 8 | |||||
Repositories | Repositories | ||||
~~~~~~~~~~~~ | ~~~~~~~~~~~~ | ||||
{%- endif %} | {%- endif %} | ||||
{%- for sysclt_name, sysctl_value in sytem.kernel.get('sysctl', {}).iteritems() %} | |||||
linux_kernel_{{ sysclt_name }} | |||||
sysctl.present: | |||||
- name: {{ sysclt_name }} | |||||
- value: {{ sysctl_value }} | |||||
{%- endfor %} | |||||
{%- endif %} | {%- endif %} | ||||
{%- endif %} | {%- endif %} |