From d1698121a9585f63dd7eb7ab5ba1eeb02c60f995 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 29 Jul 2021 17:56:04 +0100 Subject: [PATCH] Avoid exposing pipelining support for podman connections (#275) Fixes: https://github.com/ansible-community/molecule-podman/issues/2 --- plugins/connection/podman.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/connection/podman.py b/plugins/connection/podman.py index 2e46bd9..68c677f 100644 --- a/plugins/connection/podman.py +++ b/plugins/connection/podman.py @@ -79,7 +79,9 @@ class Connection(ConnectionBase): # String used to identify this Connection class from other classes transport = 'containers.podman.podman' - has_pipelining = True + # We know that pipelining does not work with podman. Do not enable it, or + # users will start containers and fail to connect to them. + has_pipelining = False def __init__(self, play_context, new_stdin, *args, **kwargs): super(Connection, self).__init__(play_context, new_stdin, *args, **kwargs)