This fix is similar to the previous one from [#506](https://github.com/containers/ansible-podman-collections/pull/506), but in buildah.py connection plugin
Signed-off-by: Arkadiusz Zalejski <arkadiusz.zalejski@gmail.com>
Signed-off-by: Arkadiusz Zalejski <arkadiusz.zalejski@gmail.com>
Add possibility to use a specific user, either defined by --user argument on
command line, or ansible_user, to connect to containers.
It is inspired from
https://github.com/containers/ansible-podman-collections/pull/19 the equivalent
for podman connection.
It was laso required to change the method to put file, from a mount mechanism,
to the buildah copy function, to allow to set correctly the permissions of
pushed files.
Fixes: containers/ansible-podman-collections#25
Co-authored-by: Simon Brée <simon.bree@intersec.com>