vars_prompt
Collection: builtin
Full Name: parallax.builtin.vars_prompt
Aliases: ansible.builtin.vars_prompt, vars_prompt
Synopsis
Manage vars prompt
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | The variable name to store user input in | |
| prompt | string | The prompt message to display to the user | ||
| default | string | Default value if user provides empty input | ||
| private | bool | false | Whether the input should be hidden (like password input) | |
| encrypt | string | Which hashing scheme to encrypt the input with Choices: des_crypt, bsdi_crypt, md5_crypt, bcrypt, sha256_crypt, sha512_crypt | ||
| confirm | bool | false | Require the user to enter the value twice | |
| salt_size | int | 8 | Size of the salt to use with the encrypt option | |
| unsafe | bool | false | Allow special characters in user input |
Example
- name: Example vars_prompt task
vars_prompt:
name: <your_name>