mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
13c2c292f2
commit
27185f44b0
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class ActionModule(ActionBase):
|
||||||
if task_vars is None:
|
if task_vars is None:
|
||||||
task_vars = dict()
|
task_vars = dict()
|
||||||
|
|
||||||
if self._task.environment:
|
if self._task.environment and any(self._task.environment) :
|
||||||
self._display.warning('raw module does not support the environment keyword')
|
self._display.warning('raw module does not support the environment keyword')
|
||||||
|
|
||||||
result = super(ActionModule, self).run(tmp, task_vars)
|
result = super(ActionModule, self).run(tmp, task_vars)
|
||||||
|
|
Loading…
Reference in a new issue