From 46b33152c8748787ed2e9d0ef049a80b562d12ef Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 6 Jul 2015 13:48:52 -0400 Subject: [PATCH] Check for ansible_su*_pass as well as _password Fixes #11500 --- lib/ansible/executor/connection_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/executor/connection_info.py b/lib/ansible/executor/connection_info.py index 76a4bb733a7..162cb6004d8 100644 --- a/lib/ansible/executor/connection_info.py +++ b/lib/ansible/executor/connection_info.py @@ -87,12 +87,12 @@ MAGIC_VARIABLE_MAPPING = dict( become_flags = ('ansible_become_flags',), sudo = ('ansible_sudo',), sudo_user = ('ansible_sudo_user',), - sudo_pass = ('ansible_sudo_password',), + sudo_pass = ('ansible_sudo_password', 'ansible_sudo_pass'), sudo_exe = ('ansible_sudo_exe',), sudo_flags = ('ansible_sudo_flags',), su = ('ansible_su',), su_user = ('ansible_su_user',), - su_pass = ('ansible_su_password',), + su_pass = ('ansible_su_password', 'ansible_su_pass'), su_exe = ('ansible_su_exe',), su_flags = ('ansible_su_flags',), )