Why Do I Get Stuck Using a `reboot` Module with `su` Privilege Escalation and Connection Debug Verbosity Option in Ansible Engine?

Solution In Progress - Updated -

Issue

When I run a playbook using the reboot module with su privilege escalation and connection debug verbosity option (-vvvv), it is stuck forever after rebooting.

Environment

Ansible Engine >= 2.9
RHEL >= 8.2

(tested on Ansible 2.9.27 + RHEL 8.2/8.5, Ansible 2.12.0 + RHEL 8.5)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content