1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #11750 from amenonsen/example-prompt

Fix incorrect example of vars_prompt
This commit is contained in:
James Cammarata 2015-07-27 10:44:51 -04:00
commit 7d8afad28c

View file

@ -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