From f7081074d04c24196f7a3ee485707e69b642d9f5 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Tue, 19 Nov 2013 16:21:40 -0500 Subject: [PATCH] AC-629 Fix password field used to respond to ansible-playbooks prompts. --- awx/main/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index b31268d90b..7d535c2e9b 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -409,8 +409,8 @@ class RunJob(BaseTask): d[re.compile(r'^Enter passphrase for .*:\s*?$', re.M)] = 'ssh_key_unlock' d[re.compile(r'^Bad passphrase, try again for .*:\s*?$', re.M)] = '' d[re.compile(r'^sudo password.*:\s*?$', re.M)] = 'sudo_password' - d[re.compile(r'^SSH password:\s*?$', re.M)] = 'password' - d[re.compile(r'^Password:\s*?$', re.M)] = 'password' + d[re.compile(r'^SSH password:\s*?$', re.M)] = 'ssh_password' + d[re.compile(r'^Password:\s*?$', re.M)] = 'ssh_password' return d def pre_run_check(self, job, **kwargs):