summaryrefslogtreecommitdiffstats
path: root/changelogs/fragments
diff options
context:
space:
mode:
authorRick Elrod <rick@elrod.me>2020-05-27 02:58:31 +0200
committerGitHub <noreply@github.com>2020-05-27 02:58:31 +0200
commit304c3e57e88c3bfb9a8f912b85e1184b836e0eb2 (patch)
tree248e0bd5537e9da7baac491abe0a3f1d2413056a /changelogs/fragments
parentAllow to deprecate options and aliases by date (#68177) (diff)
downloadansible-304c3e57e88c3bfb9a8f912b85e1184b836e0eb2.tar.xz
ansible-304c3e57e88c3bfb9a8f912b85e1184b836e0eb2.zip
[ssh] Add new sshpass_prompt option (#68874)
Change: Allows the user to configure sshpass (1.06+) to look for a different substring than the default "assword" that it comes with. Test Plan: Set a custom ssh password prompt on a VM with PAM and tried connecting to it. Without `ansible_sshpass_prompt` set in inventory: experienced hang. With `ansible_sshpass_prompt` in inventory: connected successfully. Tried setting `ansible_sshpass_prompt` with an older `sshpass` in PATH and got a loud error, as expected. Tickets: Fixes #34722, fixes #54743, refs #11565. Signed-off-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'changelogs/fragments')
-rw-r--r--changelogs/fragments/34722-ssh-sshpass-prompt-variable.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/34722-ssh-sshpass-prompt-variable.yml b/changelogs/fragments/34722-ssh-sshpass-prompt-variable.yml
new file mode 100644
index 0000000000..b9f386bea6
--- /dev/null
+++ b/changelogs/fragments/34722-ssh-sshpass-prompt-variable.yml
@@ -0,0 +1,2 @@
+minor_changes:
+- ssh - connection plugin now supports a new variable ``sshpass_prompt`` which gets passed to ``sshpass`` allowing the user to set a custom substring to search for a password prompt (requires sshpass 1.06+)