1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Avoid exposing pipelining support for podman connections

Fixes: https://github.com/ansible-community/molecule-podman/issues/2
This commit is contained in:
Sorin Sbarnea 2021-07-29 16:26:18 +01:00
parent 9ff36649ab
commit ae14d5662c

View file

@ -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)