diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index f5761ff37a..9369a274c6 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -942,6 +942,7 @@ class Runner(object): ''' execute a command string over SSH, return the output ''' if not cmd: + # this can happen with powershell modules when there is no analog to a Windows command (like chmod) return dict(stdout='', stderr='') if executable is None: