diff options
author | Timothy Appnel <tima@ansible.com> | 2016-09-20 11:52:21 -0400 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2016-09-20 10:52:21 -0500 |
commit | 1975a545bda3b32cb47ea30140f99c54cc354ad2 (patch) | |
tree | c467e739b4dddfb256db3b4e730a0b74a0dde4d6 | |
parent | a6832563420c7734e928386433b90ce939a8ea4e (diff) | |
download | ansible-1975a545bda3b32cb47ea30140f99c54cc354ad2.tar.gz |
Implements verbose always to assert action plugin module (#17654)
-rw-r--r-- | lib/ansible/plugins/action/assert.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/plugins/action/assert.py b/lib/ansible/plugins/action/assert.py index effe5ba96b..808881b1ff 100644 --- a/lib/ansible/plugins/action/assert.py +++ b/lib/ansible/plugins/action/assert.py @@ -51,6 +51,7 @@ class ActionModule(ActionBase): # by this point, and is not used again, so we don't care about mangling # that value now cond = Conditional(loader=self._loader) + result['_ansible_verbose_always'] = True for that in thats: cond.when = [that] test_result = cond.evaluate_conditional(templar=self._templar, all_vars=task_vars) @@ -65,5 +66,5 @@ class ActionModule(ActionBase): return result result['changed'] = False - result['msg'] = 'all assertions passed' + result['msg'] = 'All assertions passed' return result |