Update playbooks2.rst

Added doc on encrypt capability of vars_prompt.
Assuming the example in https://github.com/ansible/ansible/blob/devel/examples/playbooks/prompts.yml is still valid.
pull/2302/head
Michel Blanc 11 years ago
parent e2c1b34dbb
commit d03954a24b

@ -209,6 +209,16 @@ some other options, but otherwise works equivalently::
prompt: "Product release version"
private: no
vars_prompt can also crypt the entered value so you can use it, for instance, with the user module to define a password::
vars_prompt:
- name: "my_password2"
prompt: "Enter password2"
private: yes
encrypt: "md5_crypt"
confirm: yes
salt_size: 7
salt: "foo"
Passing Variables On The Command Line
`````````````````````````````````````

Loading…
Cancel
Save