GNU bug report logs - #78442
29.4; RFE: Add Ansible password prompt to comint-password-prompt-regexp

Previous Next

Package: emacs;

Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>

Date: Thu, 15 May 2025 11:26:01 UTC

Severity: normal

Found in version 29.4

Fixed in version 31.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tim Landscheidt <tim <at> tim-landscheidt.de>
Subject: bug#78442: closed (Re: bug#78442: 29.4; RFE: Add Ansible password
 prompt to comint-password-prompt-regexp)
Date: Tue, 03 Jun 2025 16:44:02 +0000
[Message part 1 (text/plain, inline)]
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 78442 <at> debbugs.gnu.org.

-- 
78442: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78442
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Tim Landscheidt <tim <at> tim-landscheidt.de>
Cc: 78442-done <at> debbugs.gnu.org
Subject: Re: bug#78442: 29.4; RFE: Add Ansible password prompt to
 comint-password-prompt-regexp
Date: Tue, 03 Jun 2025 16:59:07 +0200
Version: 31.1

Tim Landscheidt <tim <at> tim-landscheidt.de> 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 <at> 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.

[Message part 3 (message/rfc822, inline)]
From: Tim Landscheidt <tim <at> tim-landscheidt.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.4; RFE: Add Ansible password prompt to
 comint-password-prompt-regexp
Date: Thu, 15 May 2025 11:24:57 +0000
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.



This bug report was last modified 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.