From cf9b22103d882e99da99d198cca4f77bf2afe409 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 5 Oct 2015 11:16:44 -0500 Subject: [PATCH] Warnings should not increment the exit status --- ansible_testing/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_testing/modules.py b/ansible_testing/modules.py index 640c00885eb..32bebf573cd 100644 --- a/ansible_testing/modules.py +++ b/ansible_testing/modules.py @@ -72,7 +72,7 @@ class Validator(object): if warnings: for warning in self.warnings: print('WARNING: %s' % warning) - ret.append(1) + # ret.append(1) # Don't incrememt exit status for warnings if self.errors or (warnings and self.warnings): print()