From ea8af15dfe692f5730e4100a7592deb4b5188d10 Mon Sep 17 00:00:00 2001 From: Andrea Tartaglia Date: Wed, 13 Sep 2017 17:58:28 +0100 Subject: [PATCH] Updated Display.do_var_prompt to use to_native on prompt ( Fixes #30265 ) (#30285) * Updated Display.prompt to use the normalized prompt message. --- lib/ansible/utils/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/display.py b/lib/ansible/utils/display.py index d5edfa5c22..d40d8dc2db 100644 --- a/lib/ansible/utils/display.py +++ b/lib/ansible/utils/display.py @@ -279,7 +279,7 @@ class Display: prompt_string = to_text(prompt_string) if private: - return getpass.getpass(msg) + return getpass.getpass(prompt_string) else: return input(prompt_string)