From 10def3aa54cd6aaed88b858f281da57713043488 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Thu, 30 Jul 2015 22:42:21 +0530 Subject: [PATCH] Uncomment encrypt handling for vars_prompt --- lib/ansible/executor/playbook_executor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/executor/playbook_executor.py b/lib/ansible/executor/playbook_executor.py index ac7103d540c..7f015692ae0 100644 --- a/lib/ansible/executor/playbook_executor.py +++ b/lib/ansible/executor/playbook_executor.py @@ -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