summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docsite/rst/playbooks_prompts.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/docsite/rst/playbooks_prompts.rst b/docsite/rst/playbooks_prompts.rst
index 29fc218fe8..a18ed1ae72 100644
--- a/docsite/rst/playbooks_prompts.rst
+++ b/docsite/rst/playbooks_prompts.rst
@@ -20,9 +20,12 @@ Here is a most basic example::
from: "camelot"
vars_prompt:
- name: "what is your name?"
- quest: "what is your quest?"
- favcolor: "what is your favorite color?"
+ - name: "name"
+ prompt: "what is your name?"
+ - name: "quest"
+ prompt: "what is your quest?"
+ - name: "favcolor"
+ prompt: "what is your favorite color?"
If you have a variable that changes infrequently, it might make sense to
provide a default value that can be overridden. This can be accomplished using