From ac151e5ad0e4ca75cee58f178afee911f7654f43 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 8 Jul 2021 15:55:46 -0400 Subject: [PATCH] become/su: Tell users not to include colon in customized list (#75084) * Tell users not to include colon in customized list, fixes #75076 --- lib/ansible/plugins/become/su.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/plugins/become/su.py b/lib/ansible/plugins/become/su.py index 77e997648ab..6b09d89056c 100644 --- a/lib/ansible/plugins/become/su.py +++ b/lib/ansible/plugins/become/su.py @@ -71,6 +71,8 @@ DOCUMENTATION = """ description: - List of localized strings to match for prompt detection - If empty we'll use the built in one + - Do NOT add a colon (:) to your custom entries. Ansible adds a colon at the end of each prompt; + if you add another one in your string, your prompt will fail with a "Timeout" error. default: [] type: list ini: