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

14 commits

Author SHA1 Message Date
Cleber Rosa
1003e966ee
Add missing docstring for method that executes the podman commands (#436)
For completeness sake (and because I looked for it and did not find
it), this adds a docstring line for the "use_container_id" parameter.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
2022-06-11 14:35:29 +03:00
Sergey
85a36e3b1f
Fix new requirements for plugins documentation (#385)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-03-08 13:58:38 +02:00
Sorin Sbarnea
d1698121a9
Avoid exposing pipelining support for podman connections (#275)
Fixes: https://github.com/ansible-community/molecule-podman/issues/2
2021-07-29 19:56:04 +03:00
Sergey
0519ab69ab
Chown file for users when copy them to container (#90)
In podman connection when we copy file to container and work as
non-root user, need to set correct ownership for the files.
Since ansible change https://github.com/ansible/ansible/pull/70221
it's broken, because of new permissions ansible set to copied files.
2020-07-26 18:39:18 +03:00
Ken Dreyer
8bfe7402f0
doc: _podman() cmd value can be a list (#79)
Commit cc8d4bb451 changed _podman() to
accept a string or a list for the "cmd" parameter. Update the docstring
for this parameter to reflect this.
2020-07-09 19:45:33 +03:00
Sergey
7cf4b5e63a
Increase verbosity for mount failure messages (#74)
Move these messages to level 4 not to bother people, eventually
this is a usual case for rootless.
2020-07-07 05:36:32 +03:00
Sergey
015bf00ab0
Add check for empty dir for podman connection mount (#72)
Workaround for issue https://github.com/containers/libpod/issues/6856
When podman runs with CGroups v2 and rootless container,
it mounts directory without error, but mounted directory is empty.
Add check for the directory if it's empty.
2020-07-06 01:49:02 +03:00
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