win_shell/win_command changes + tests (#17557)

This commit is contained in:
Matt Davis 2016-09-15 11:25:56 -07:00 committed by GitHub
commit f497d771c8
6 changed files with 319 additions and 6 deletions

View file

@ -85,7 +85,7 @@ class AdHocCLI(CLI):
return True
def _play_ds(self, pattern, async, poll):
check_raw = self.options.module_name in ('command', 'shell', 'script', 'raw')
check_raw = self.options.module_name in ('command', 'win_command', 'shell', 'win_shell', 'script', 'raw')
return dict(
name = "Ansible Ad-Hoc",
hosts = pattern,