diff --git a/lib/ansible/plugins/terminal/asa.py b/lib/ansible/plugins/terminal/asa.py index dbb75a1c28d..586eba55755 100644 --- a/lib/ansible/plugins/terminal/asa.py +++ b/lib/ansible/plugins/terminal/asa.py @@ -36,7 +36,8 @@ class TerminalModule(TerminalBase): terminal_stderr_re = [ re.compile(br"error:", re.I), - re.compile(br"Removing.* not allowed, it is being used") + re.compile(br"Removing.* not allowed, it is being used"), + re.compile(br"^Command authorization failed\r?$", re.MULTILINE) ] def on_open_shell(self):