From f9a038cbd4f3b926f8b2bc41a2bf720982139e66 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 4 Mar 2020 09:59:51 +1000 Subject: win - Allow FQCN for win_command and win_shell --- lib/ansible/cli/adhoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ansible/cli') diff --git a/lib/ansible/cli/adhoc.py b/lib/ansible/cli/adhoc.py index 9d91b2934f..3b984f01ff 100644 --- a/lib/ansible/cli/adhoc.py +++ b/lib/ansible/cli/adhoc.py @@ -64,7 +64,7 @@ class AdHocCLI(CLI): return options def _play_ds(self, pattern, async_val, poll): - check_raw = context.CLIARGS['module_name'] in ('command', 'win_command', 'shell', 'win_shell', 'script', 'raw') + check_raw = context.CLIARGS['module_name'] in C.MODULE_REQUIRE_ARGS mytask = {'action': {'module': context.CLIARGS['module_name'], 'args': parse_kv(context.CLIARGS['module_args'], check_raw=check_raw)}} -- cgit v1.2.1