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

7 commits

Author SHA1 Message Date
Sagi Shnaidman
c98febf26a Fix buuldah debug output for py2 2020-05-20 00:12:20 +03:00
Raoul555
1c3d2456b7 buildah/connection add support of specific user (#42)
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>
2020-05-15 23:36:24 +03:00
Abhijeet Kasurde
cc8d4bb451
Add user flags before container id in podman exec (#19)
* Add user flags before container id in podman exec

When user provides an ansible_ssh_user, podman connection
plugin includes this values as `--user` flag. This patch
fixes the location of this flag according to podman exec command help.

Fixes: ansible/ansible#65220

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

* Don't use mount in case of specified user

Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
2020-05-10 06:12:49 +03:00
Sagi Shnaidman
3d1c38c3c2 Buildah connection rootless 2020-05-05 13:36:41 +03:00
Sagi Shnaidman
2d4018d227 Run pause=false w/o message condition 2020-05-04 21:14:06 +03:00
Sagi Shnaidman
f79f36fd38 Set up testing for podman connection 2020-05-01 22:45:50 +03:00
Sagi Shnaidman
dc13dce52a Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00