fix environment populated detection

fixes #23764

(cherry picked from commit 27185f44b0)
pull/23884/head
Brian Coca 9 years ago
parent 0878f45a6c
commit 4b5553c97f

@ -27,7 +27,7 @@ class ActionModule(ActionBase):
if task_vars is None:
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')
result = super(ActionModule, self).run(tmp, task_vars)

Loading…
Cancel
Save