From 01f0da6c99bfca7f9818f37018a14f75cf0e3b9c Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 2 Nov 2022 18:25:54 +0100 Subject: [PATCH] fix a syntax error --- tasks/sysctl.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']