Commit 10def3aa by Abhijit Menon-Sen

Uncomment encrypt handling for vars_prompt

parent 17f659a1
...@@ -33,6 +33,7 @@ from ansible.template import Templar ...@@ -33,6 +33,7 @@ from ansible.template import Templar
from ansible.utils.color import colorize, hostcolor from ansible.utils.color import colorize, hostcolor
from ansible.utils.debug import debug from ansible.utils.debug import debug
from ansible.utils.encrypt import do_encrypt
class PlaybookExecutor: class PlaybookExecutor:
...@@ -269,9 +270,8 @@ class PlaybookExecutor: ...@@ -269,9 +270,8 @@ class PlaybookExecutor:
if not result and default is not None: if not result and default is not None:
result = default result = default
# FIXME: make this work with vault or whatever this old method was if encrypt:
#if encrypt: result = do_encrypt(result, encrypt, salt_size, salt)
# result = utils.do_encrypt(result, encrypt, salt_size, salt)
# handle utf-8 chars # handle utf-8 chars
# FIXME: make this work # FIXME: make this work
......
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