From 9e8a3f4302aeb58853d64d598f7c0417f1a4a346 Mon Sep 17 00:00:00 2001 From: Andy Freeland Date: Wed, 26 Jul 2017 10:14:59 -0700 Subject: [PATCH] stdin arg: add documentation to shell module --- lib/ansible/modules/commands/shell.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ansible/modules/commands/shell.py b/lib/ansible/modules/commands/shell.py index 3ef8d52c8fe..a730828a5a7 100644 --- a/lib/ansible/modules/commands/shell.py +++ b/lib/ansible/modules/commands/shell.py @@ -60,6 +60,12 @@ options: required: false default: True version_added: "1.8" + stdin: + version_added: "2.4" + description: + - Set the stdin of the command directly to the specified value. + required: false + default: null notes: - If you want to execute a command securely and predictably, it may be better to use the M(command) module instead. Best practices when writing