Subject: bug#78442: closed (Re: bug#78442: 29.4; RFE: Add Ansible password prompt to comint-password-prompt-regexp)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 03 Jun 2025 16:44:02 +0000

Your bug report

#78442: 29.4; RFE: Add Ansible password prompt to comint-password-prompt-regexp

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
78442: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78442
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#78442: 29.4; RFE: Add Ansible password prompt to comint-password-prompt-regexp
From: Michael Albinus <[email-masked]>
To: Tim Landscheidt <[email-masked]>
Cc: [email-masked]
Date: Tue, 03 Jun 2025 16:59:07 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 31.1

Tim Landscheidt <[email-masked]> writes:

Hi Tim,

> Ansible (https://docs.ansible.com/) uses the prompt "BECOME
> password: " when asking for a user's password:
>
> | $ ansible-playbook -DKi ansible/hosts ansible/playbook.yml
> | BECOME password:
>
> (There is one (1) trailing space after the colon.)

Ansible uses different prompts for passwords. See these examples (tested
with ansible-playbook [core 2.18.3]):

--8<---------------cut here---------------start------------->8---
# ansible-playbook --ask-vault-pass playbook.yml
Vault password:

# ansible-playbook --vault-id dev@prompt playbook.yml
Vault password (dev):

# ansible-playbook --ask-pass playbook.yml
SSH password:

# ansible-playbook --ask-become-pass playbook.yml
BECOME password:
--8<---------------cut here---------------end--------------->8---

> It would be nice if comint/shell mode could support this.

I've pushed the password prompts to comint-password-prompt-regexp in the
master branch. Closing the bug.

Best regards, Michael.

Subject: 29.4; RFE: Add Ansible password prompt to comint-password-prompt-regexp
From: Tim Landscheidt <[email-masked]>
To: [email-masked]
Date: Thu, 15 May 2025 11:24:57 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Ansible (https://docs.ansible.com/) uses the prompt "BECOME
password: " when asking for a user's password:

| $ ansible-playbook -DKi ansible/hosts ansible/playbook.yml
| BECOME password:

(There is one (1) trailing space after the colon.)

It would be nice if comint/shell mode could support this.