summaryrefslogtreecommitdiff
path: root/lib/ansible/cli/console.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/cli/console.py')
-rw-r--r--lib/ansible/cli/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/cli/console.py b/lib/ansible/cli/console.py
index a1492ca7b0..ba6b1ff54f 100644
--- a/lib/ansible/cli/console.py
+++ b/lib/ansible/cli/console.py
@@ -182,7 +182,7 @@ class ConsoleCLI(CLI, cmd.Cmd):
result = None
try:
- check_raw = module in ('command', 'shell', 'script', 'raw')
+ check_raw = module in C._ACTION_ALLOWS_RAW_ARGS
play_ds = dict(
name="Ansible Shell",
hosts=self.cwd,