script fails on async
This commit is contained in:
parent
602a2bca1b
commit
fe9af903f3
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue