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


Message #10 received at 78442-done <at> debbugs.gnu.org (full text, mbox):

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.




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.