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

script fails on async

This commit is contained in:
Brian Coca 2017-04-20 11:49:10 -04:00
parent 602a2bca1b
commit fe9af903f3

View file

@ -34,9 +34,7 @@ class ActionModule(ActionBase):
result = super(ActionModule, self).run(tmp, task_vars)
if self._play_context.check_mode:
result['skipped'] = True
result['msg'] = 'check mode not supported for this module'
if result.get('skipped', False) or result.get('failed', False):
return result
if not tmp: