{%- endif %} | {%- endif %} | ||||
{%- for sysclt_name, sysctl_value in system.kernel.get('sysctl', {}).iteritems() %} | |||||
{%- for sysctl_name, sysctl_value in system.kernel.get('sysctl', {}).iteritems() %} | |||||
linux_kernel_{{ sysclt_name }}: | |||||
linux_kernel_{{ sysctl_name }}: | |||||
sysctl.present: | sysctl.present: | ||||
- name: {{ sysclt_name }} | |||||
- name: {{ sysctl_name }} | |||||
- value: {{ sysctl_value }} | - value: {{ sysctl_value }} | ||||
{%- endfor %} | {%- endfor %} |