From 8968d41599b1a4fabe0f26efeea8b0d438536247 Mon Sep 17 00:00:00 2001 From: Pilou Date: Tue, 14 May 2019 13:50:50 +0000 Subject: [PATCH] [doc] command module: mention all parameter types (#56396) --- lib/ansible/modules/commands/command.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/modules/commands/command.py b/lib/ansible/modules/commands/command.py index b8a75e3a7b..66ba77017e 100644 --- a/lib/ansible/modules/commands/command.py +++ b/lib/ansible/modules/commands/command.py @@ -36,6 +36,7 @@ options: - See the examples on how to use this module. required: yes argv: + type: list description: - Passes the command as a list rather than a string. - Use C(argv) to avoid quoting values that would otherwise be interpreted incorrectly (for example "user name"). @@ -43,13 +44,16 @@ options: provided, not both. One or the other must be provided. version_added: "2.6" creates: + type: path description: - A filename or (since 2.0) glob pattern. If it already exists, this step B(won't) be run. removes: + type: path description: - A filename or (since 2.0) glob pattern. If it already exists, this step B(will) be run. version_added: "0.8" chdir: + type: path description: - Change into this directory before running the command. version_added: "0.6"