1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

adds 'success_msg' to valid args for assert module (#47030)

This commit is contained in:
Hagen Kuehn 2018-10-24 20:10:10 +01:00 committed by Martin Krizek
parent 748ea39ecd
commit 0661f2f213

View file

@ -27,7 +27,7 @@ class ActionModule(ActionBase):
''' Fail with custom message ''' ''' Fail with custom message '''
TRANSFERS_FILES = False 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): def run(self, tmp=None, task_vars=None):
if task_vars is None: if task_vars is None: