Add documentation for vars_prompt
This commit is contained in:
parent
88dab0db2d
commit
2cb89c12e3
1 changed files with 7 additions and 2 deletions
|
@ -12,7 +12,12 @@
|
||||||
this_is_a_regular_var: 'moo'
|
this_is_a_regular_var: 'moo'
|
||||||
so_is_this: 'quack'
|
so_is_this: 'quack'
|
||||||
|
|
||||||
# prompted variables
|
# prompted variables are a list of variable names and a description
|
||||||
|
# that will be presented to the user.
|
||||||
|
#
|
||||||
|
# alternatively, they can ALSO be passed in from the outside:
|
||||||
|
# ansible-playbook foo.yml --extra-vars="foo=100 bar=101"
|
||||||
|
# or through external inventory scripts (see online API docs)
|
||||||
|
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
release_version: "product release version"
|
release_version: "product release version"
|
||||||
|
@ -24,5 +29,5 @@
|
||||||
# a package version to use with the yum module.
|
# a package version to use with the yum module.
|
||||||
|
|
||||||
- name: imagine this did something interesting with $release_version
|
- name: imagine this did something interesting with $release_version
|
||||||
action: shell echo foo >> /tmp/$release_version
|
action: shell echo foo >> /tmp/$release_version-$alpha
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue