Uncomment encrypt handling for vars_prompt

This commit is contained in:
Abhijit Menon-Sen 2015-07-30 22:42:21 +05:30
parent 17f659a143
commit 10def3aa54

View file

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