From 94fa9c2a7a9741eb1604d71eb063050340f610b5 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 14 Jan 2016 12:22:19 -0500 Subject: [PATCH] test aliases to enable gramatical consistancy keeps backwards compat by not removing the previouslly non grammer matching states and introduces new ones so user can decide which one he wants (or keep both and still be inconsistent to annoy those that care) --- lib/ansible/plugins/test/core.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/test/core.py b/lib/ansible/plugins/test/core.py index 1bd789260f..fb9e0fb86e 100644 --- a/lib/ansible/plugins/test/core.py +++ b/lib/ansible/plugins/test/core.py @@ -89,14 +89,18 @@ class TestModule(object): def tests(self): return { # failure testing - 'failed' : failed, - 'success' : success, + 'failed' : failed, + 'failure' : failed, + 'success' : success, + 'succeeded' : success, # changed testing 'changed' : changed, + 'change' : changed, # skip testing 'skipped' : skipped, + 'skip' : skipped, # regex 'match': match,