Allow podman connections in synchronize module

This commit is contained in:
Sagi Shnaidman 2021-07-23 14:29:02 +03:00
parent a03e652437
commit c5d49b2a91

View file

@ -66,7 +66,15 @@ class ActionModule(ActionBase):
return path return path
# If using docker or buildah, do not add user information # If using docker or buildah, do not add user information
if self._remote_transport not in ['docker', 'community.general.docker', 'community.docker.docker', 'buildah', 'containers.podman.buildah'] and user: if self._remote_transport not in [
'docker',
'community.general.docker',
'community.docker.docker',
'buildah',
'containers.podman.buildah',
'podman',
'containers.podman.podman'
] and user:
user_prefix = '%s@' % (user, ) user_prefix = '%s@' % (user, )
if self._host_is_ipv6_address(host): if self._host_is_ipv6_address(host):