Commit d03954a2 by Michel Blanc

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.
parent e2c1b34d
......@@ -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
`````````````````````````````````````
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment