fix environment populated detection

fixes #23764
pull/23879/head
Brian Coca 8 years ago
parent 13c2c292f2
commit 27185f44b0

@ -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…
Cancel
Save