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:
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)
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue