mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
added unsafe toggle to vars_prompt (#49219)
* added unsafe toggle to vars_prompt fixes #47534
This commit is contained in:
parent
4a0fceaa3b
commit
4ac0c23db6
7 changed files with 51 additions and 10 deletions
|
@ -89,6 +89,16 @@ Depending on your platform at most the following crypt schemes are supported:
|
|||
- *sha256_crypt* - SHA-256 Crypt
|
||||
- *sha512_crypt* - SHA-512 Crypt
|
||||
|
||||
.. versionadded:: 2.8
|
||||
|
||||
If you need to put in special characters (i.e `{%`) that might create templating errors, use the ``unsafe`` option::
|
||||
|
||||
vars_prompt:
|
||||
- name: "my_password_with_wierd_chars"
|
||||
prompt: "Enter password"
|
||||
unsafe: yes
|
||||
private: yes
|
||||
|
||||
.. seealso::
|
||||
|
||||
:doc:`playbooks`
|
||||
|
@ -101,6 +111,3 @@ Depending on your platform at most the following crypt schemes are supported:
|
|||
Have a question? Stop by the google group!
|
||||
`irc.freenode.net <http://irc.freenode.net>`_
|
||||
#ansible IRC chat channel
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue