mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Copy tests WIP, fix bug in assert module upgrades where the wrong value was being checked.
This commit is contained in:
parent
0d64159d03
commit
0df166e7c0
5 changed files with 48 additions and 4 deletions
|
@ -50,7 +50,7 @@ class ActionModule(object):
|
|||
args['that'] = [ args['that'] ]
|
||||
|
||||
for that in args['that']:
|
||||
result = utils.check_conditional(args['that'], self.runner.basedir, inject, fail_on_undefined=True)
|
||||
result = utils.check_conditional(that, self.runner.basedir, inject, fail_on_undefined=True)
|
||||
if not result:
|
||||
return ReturnData(conn=conn, result=dict(failed=True, assertion=that, evaluated_to=result))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue