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 (#275)

Fixes: https://github.com/ansible-community/molecule-podman/issues/2
This commit is contained in:
Sorin Sbarnea 2021-07-29 17:56:04 +01:00 committed by GitHub
parent 9ff36649ab
commit d1698121a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)