From 49cefba20d0e91cdbabb475d7cae3f6ecc00aeda Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Thu, 30 Sep 2021 16:15:05 +0900 Subject: [PATCH] Fix invalid integration task for sysctl module Signed-off-by: Hideki Saito --- tests/integration/targets/sysctl/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/targets/sysctl/tasks/main.yml b/tests/integration/targets/sysctl/tasks/main.yml index c8532d3..0715dc2 100644 --- a/tests/integration/targets/sysctl/tasks/main.yml +++ b/tests/integration/targets/sysctl/tasks/main.yml @@ -17,7 +17,7 @@ # along with Ansible. If not, see . # NOTE: Testing sysctl inside an unprivileged container means that we cannot -# apply sysctl, or it will always fail, because of that in most cases (except +# apply sysctl, or it will always fFail, because of that in most cases (except # those when it should fail) we have to use `reload=no`. - name: Test inside Docker @@ -123,9 +123,9 @@ that: - sysctl_test2_change_test is not changed - - name: Try sysctl with an invalid value + - name: Try sysctl with an invalid key sysctl: - name: net.ipv4.ip_forward + name: net.ipv4.invalid_key value: foo register: sysctl_test3 ignore_errors: yes