summaryrefslogtreecommitdiff
path: root/lib/ansible/cli
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2020-03-04 09:59:51 +1000
committerMatt Clay <matt@mystile.com>2020-03-05 12:14:58 -0800
commitf9a038cbd4f3b926f8b2bc41a2bf720982139e66 (patch)
treeefe395a8fd405eb13f1fb5fa1ce142b69c9e0e7e /lib/ansible/cli
parent35996e57abba1f40abb493379d5cbe2dd90e65c3 (diff)
downloadansible-f9a038cbd4f3b926f8b2bc41a2bf720982139e66.tar.gz
win - Allow FQCN for win_command and win_shell
Diffstat (limited to 'lib/ansible/cli')
-rw-r--r--lib/ansible/cli/adhoc.py2
1 files changed, 1 insertions, 1 deletions
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)}}