[Bug 2122414] [NEW] Ansible times out after BECOME password request

Athos Ribeiro 2122414 at bugs.launchpad.net
Tue Sep 9 12:18:48 UTC 2025


Public bug reported:

When using ansible with a site or a task using "become: yes", ansible
will prompt for the password (forwarded to sudo) before running.

When doing so with sudo-rs, after the password is provided by the user,
ansible hangs and then throws the following error:

"Timed out waiting for become success or become password prompt"

When setting sudo.ws as the default with update-alternatives, ansible
proceeds as expected after the password is provided.

** Affects: ansible-core (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rust-sudo-rs (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: ansible-core (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-sudo-rs in Ubuntu.
https://bugs.launchpad.net/bugs/2122414

Title:
  Ansible times out after BECOME password request

Status in ansible-core package in Ubuntu:
  New
Status in rust-sudo-rs package in Ubuntu:
  New

Bug description:
  When using ansible with a site or a task using "become: yes", ansible
  will prompt for the password (forwarded to sudo) before running.

  When doing so with sudo-rs, after the password is provided by the
  user, ansible hangs and then throws the following error:

  "Timed out waiting for become success or become password prompt"

  When setting sudo.ws as the default with update-alternatives, ansible
  proceeds as expected after the password is provided.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ansible-core/+bug/2122414/+subscriptions




More information about the foundations-bugs mailing list