From f1fc5dba92d854ed25c0be2172b1347c8479aa86 Mon Sep 17 00:00:00 2001 From: jalbersdorfer Date: Fri, 13 Dec 2019 00:03:11 +0100 Subject: [PATCH] add asterisk '*' to the list of non-working operations (#65728) Asterisk '*' doesn't work either in the command module --- lib/ansible/modules/commands/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/commands/command.py b/lib/ansible/modules/commands/command.py index f5d99e7fae7..745f808961c 100644 --- a/lib/ansible/modules/commands/command.py +++ b/lib/ansible/modules/commands/command.py @@ -23,7 +23,7 @@ description: - The given command will be executed on all selected nodes. - The command(s) will not be processed through the shell, so variables like C($HOME) and operations - like C("<"), C(">"), C("|"), C(";") and C("&") will not work. + like C("*"), C("<"), C(">"), C("|"), C(";") and C("&") will not work. Use the M(shell) module if you need these features. - To create C(command) tasks that are easier to read than the ones using space-delimited arguments, pass parameters using the C(args) L(task keyword,../reference_appendices/playbooks_keywords.html#task)