diff --git a/tasks/sysctl.yml b/tasks/sysctl.yml index cfbef0e..762aefb 100644 --- a/tasks/sysctl.yml +++ b/tasks/sysctl.yml @@ -15,7 +15,8 @@ name: '{{ item.name }}' value: '{{ item.value }}' sysctl_file: "{{ item.sysctlfile | default ('/etc/sysctl.d/90-custom-values.conf') }}" - reload: "{{ item.sysctl_reload | default(true) }} state={{ item.sysctlfile_state | default('present') }}" + reload: "{{ item.sysctl_reload | default(true) }}" + state: "{{ item.sysctlfile_state | default('present') }}" loop: '{{ sysctl_custom_options }}' tags: ['sysctl', 'kernel']