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

86 commits

Author SHA1 Message Date
Sergey
c97a56a0a2
Add podman_network module (#107)
And add release 1.3.0
2020-09-03 01:38:25 +03:00
Sergey
cb6934de24
Fix return data from podman_volume module (#106) 2020-09-03 01:21:54 +03:00
Sergey
280af2c268
Add changelog for Ansible 2.10 release (#103) 2020-08-17 15:57:48 +03:00
Sergey
8e45217465
Add setup files for Pip installation (#100) 2020-08-06 15:39:32 +03:00
Sergey
69b034b263
Fix yaml python dep in root tests (#96)
Use different python interpretators for root and rootless tests,
as it's a problem in Ubuntu 18.
2020-08-03 14:49:55 +03:00
Jens Heinrich
a38df046a4
Update README.md (#97)
Fix minor typos
2020-08-03 12:41:31 +03:00
Sergey
2d3689e8c5
Fix issue with idempotency uts, ipc with pod (#95) 2020-07-29 13:25:32 +03:00
Sergey
727d4a361f
Fix idempotency for case with = in env (#92)
Add tests for env settings.
2020-07-27 20:00: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
Sergey
e1a81db9ea
Fix publish job (#89)
Add dry run job for testing publishing
2020-07-22 13:06:07 +03:00
Sergey
869c644448
Improve podman volume info tests with new module (#88) 2020-07-22 09:11:26 +03:00
Sergey
4069b600ea
Create podman_volume module for volumes management (#87) 2020-07-22 09:04:00 +03:00
Sergey
0636d05cac
Fix idempotency for networks and add tests (#84) 2020-07-19 23:50:25 +03:00
Sergey
efae6e0b9c
Add podman pod and pod info modules (#81) 2020-07-19 20:23:43 +03:00
Sergey
3726e2a1c7
Add ubuntu 20.04 to CI as it has podman 2.0.1 version (#83)
Fix idempotency issues in podman_container
Add creating workdir, buildah issue: https://github.com/containers/buildah/issues/2475
Fix #68
Fix #69
Should help to #80 as well, but will be handled separately.
2020-07-16 21:21:17 +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
3ba6416ffc
Improve idempotency for volumes with slashes (#78)
In case of trailing slash or double slashes, the Podman strips it
automatically. Prepare input data accordingly, so we can compare
with Podman inspected one.
2020-07-09 18:37:08 +03:00
Sergey
6b2bcef9b2
Improve ports idempotency and support UDP (#76) 2020-07-09 17:23:28 +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
Abhijeet Kasurde
8d44ce919c
sanity: doc fixes (#71)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-05 12:11:04 +03:00
Sergey
d53539c2f4
Fix idempotency for podman > 2 versions (#66)
In podman 2.0.0 were introduced changes in inspection of container.
Support all idempotency changes from version 2.
2020-06-29 20:33:09 +03:00
Sergey
70b7727327
Schedule sanity jobs to run nightly (#64) 2020-06-23 20:14:42 +03:00
Sergey
c485fb8b19
Add 2.10 jobs and 2.11 ignore file (#63) 2020-06-22 11:02:46 +03:00
Sergey
b2c36a8930
Add idempotency for ulimits and tests (#62) 2020-06-21 21:45:50 +03:00
Sergey
b7d3d95a79
Separate idempotency tests to a different job (#60) 2020-06-14 15:19:12 +03:00
Sergey
3330f840c0
Add build script (#58) 2020-06-08 22:33:26 +03:00
Sergey
8b717f9201
Relicense under GPLv3 and clean up modules (#57)
Clean up modules according to last Ansible changes
Set license for GPLv3 to avoid various possible issues
2020-06-08 17:07:16 +03:00
Sergey
80b2ae6abf
Add idempotency for existing local volumes (#56) 2020-06-05 17:29:20 +03:00
Sergey
d2bfe796f5
Revert "Hold on jobs" (#55)
This reverts commit ce0b45a1c4.
2020-06-01 02:26:08 +03:00
Sagi Shnaidman
ce0b45a1c4 Hold on jobs 2020-06-01 02:22:03 +03:00
Sergey
9720eaca0b
Publish 1.0.1 version (#54) 2020-06-01 02:18:53 +03:00
Sergey
2635eab02e
Add tests for idempotency (#53) 2020-06-01 02:04:04 +03:00
Sergey
6256a082bd
Add option for tls_verify=false for images (#52) 2020-06-01 00:31:55 +03:00
Sergey
6fe402c494
Add inspect of image and user idempotency (#49) 2020-06-01 00:18:32 +03:00
Sergey
6f7ab43e2c
Release first version (#48) 2020-05-20 02:13:52 +03:00
Sagi Shnaidman
2bafc01e3c Update README and tests 2020-05-20 02:05:57 +03:00
Sagi Shnaidman
c98febf26a Fix buuldah debug output for py2 2020-05-20 00:12:20 +03:00
Sagi Shnaidman
f8b818628a Little fixes for README, local test and galaxy 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
Tom Sweeney
804b60e4fd
Add Security Policy (#32)
As the title says.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-05-11 15:36:59 +03:00
Sergey
afb14658bc
Fix image, healthcheck and other idempotency (#43)
Fix healthcheck and --rm commands.
Fix idempotency for images.
Fix possible problem with volumesfrom not in the inspection.
2020-05-11 15:34:29 +03:00
Sergey
201151f93e
Add idempotency for user and stop signal (#41)
user and stop signal can be defined in images, ignore them if
they're not set
2020-05-11 14:27:39 +03:00
Sergey
376f8aa51a
Improve idempotency of podman_container (#40)
Consider pod container differences, they change utc, network, ipc according to their pods.
Add different default for cpu_shares on podman 1.8.* versions
Add test for containers idempotency in pods
Partially solves #21 and #31
2020-05-11 12:46:19 +03:00
Sergey
b421c19e70
Add CI for podman_network_info module (#38) 2020-05-11 00:01:38 +03:00
Sergey
76add0a15b
Add CI for podman_image, podman_image_info, podman_volume_info (#37) 2020-05-10 23:47:57 +03:00
Sergey
2e3dcfd7c5
Fix idempotency issues with workdir and volumes (#36)
"workdir" and "volumes" can be set in the image, so for better idempotency we'll need to inspect image. For now ignore these settings if they're not set.
2020-05-10 23:35:08 +03:00
Sagi Shnaidman
f278a5502d Add CI for podman_image 2020-05-10 22:53:30 +03:00
Sagi Shnaidman
8e8ba3f503 Add README to contribs for testing and CI examples 2020-05-10 20:34:22 +03:00
Sagi Shnaidman
277a3129f0 Add CI for podman_container 2020-05-10 20:34:22 +03:00