From 0661f2f21397ef88347d02c2e45a0195916b6bbe Mon Sep 17 00:00:00 2001 From: Hagen Kuehn Date: Wed, 24 Oct 2018 20:10:10 +0100 Subject: [PATCH] adds 'success_msg' to valid args for assert module (#47030) --- lib/ansible/plugins/action/assert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/assert.py b/lib/ansible/plugins/action/assert.py index 4028201130..a3b6af811a 100644 --- a/lib/ansible/plugins/action/assert.py +++ b/lib/ansible/plugins/action/assert.py @@ -27,7 +27,7 @@ class ActionModule(ActionBase): ''' Fail with custom message ''' TRANSFERS_FILES = False - _VALID_ARGS = frozenset(('fail_msg', 'msg', 'that')) + _VALID_ARGS = frozenset(('fail_msg', 'msg', 'success_msg', 'that')) def run(self, tmp=None, task_vars=None): if task_vars is None: