script fails on async

pull/23826/head
Brian Coca 8 years ago
parent 602a2bca1b
commit fe9af903f3

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

Loading…
Cancel
Save