From 7e0c2fd1afb9ff9536b9d171437cb474ddf5fa7d Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 14 Aug 2019 11:47:24 +0100 Subject: [PATCH] tests: fix sudo_flags_failure for Ansible 2.8.3 --- tests/ansible/integration/become/sudo_flags_failure.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ansible/integration/become/sudo_flags_failure.yml b/tests/ansible/integration/become/sudo_flags_failure.yml index 52404019..39fbb4b8 100644 --- a/tests/ansible/integration/become/sudo_flags_failure.yml +++ b/tests/ansible/integration/become/sudo_flags_failure.yml @@ -17,5 +17,6 @@ - out.failed - | ('sudo: no such option: --derps' in out.msg) or + ("sudo: invalid option -- '-'" in out.module_stderr) or ("sudo: unrecognized option `--derps'" in out.module_stderr) or ("sudo: unrecognized option '--derps'" in out.module_stderr)