diff --git a/lib/ansible/plugins/action/raw.py b/lib/ansible/plugins/action/raw.py index fa0263839f0..34677457e70 100644 --- a/lib/ansible/plugins/action/raw.py +++ b/lib/ansible/plugins/action/raw.py @@ -27,7 +27,7 @@ class ActionModule(ActionBase): if task_vars is None: task_vars = dict() - if self._task.environment and any(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)