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

596 commits

Author SHA1 Message Date
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
Sergey
6d0a24b52a
Improve local testing (#33) 2020-05-10 13:08:34 +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
Sergey
cfd27b44be
Merge pull request #30 from sshnaidm/podman-fix
Run pause=false w/o message condition
2020-05-04 21:33:45 +03:00
Sagi Shnaidman
2d4018d227 Run pause=false w/o message condition 2020-05-04 21:14:06 +03:00
Sergey
b51f4996aa
Merge pull request #27 from sshnaidm/virtci
Set up testing for podman and buildah connection
2020-05-01 23:02:35 +03:00
Sagi Shnaidman
f79f36fd38 Set up testing for podman connection 2020-05-01 22:45:50 +03:00
Sergey
65b6f5b278
Merge pull request #24 from sshnaidm/issue
Add issue template for github repo
2020-04-18 19:21:59 +03:00
Sagi Shnaidman
d55a6525b9 Add issue template for github repo 2020-04-18 14:40:50 +03:00
Sergey
048e537f8c
Merge pull request #22 from Akasurde/i67965
podman_image: use correct option for remove_signatures flag
2020-04-16 15:35:55 +03:00
Abhijeet Kasurde
540a92a3ca podman_image: use correct option for remove_signatures flag
podman_image module uses 'podman push' command with wrong
flag '--remove_signatures' instead of '--remove-signatures'

This patch fixes the given typo.

Fixes: ansible/ansible#67965

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-04-16 16:59:12 +05:30
Sergey
3473faac77
Merge pull request #17 from sshnaidm/nextci
Optimize CI
2020-04-07 01:35:34 +03:00
Sagi Shnaidman
272ab1f139 Optimize CI 2020-04-07 01:16:17 +03:00
Sergey
5bc24cc8d7
Merge pull request #16 from sshnaidm/readme
Update README
2020-03-30 23:14:13 +03:00
Sagi Shnaidman
2b66eba799 Update README 2020-03-30 23:04:53 +03:00
Sergey
b950e8214c
Merge pull request #15 from sshnaidm/githubci
Github workflow
2020-03-30 22:51:17 +03:00
Sagi Shnaidman
750ed503df Github workflow 2020-03-30 21:43:23 +03:00
Sergey
2b9c584f66
Merge pull request #14 from larsks/feature/better_changed
podman_image: only set changed=true if there is a new image
2020-03-30 18:31:10 +03:00
Lars Kellogg-Stedman
5d7e5c3a5a podman_image: only set changed=true if there is a new image
with force: true, podman_image would always report changed regardless
of whether or not the pull or build operation resulted in a new image.
With this commit, check the image digest before and after and only
reported changed if the digest is different.
2020-03-29 23:25:50 -04:00
Sergey
cb33fd658b
Merge pull request #13 from sshnaidm/bump
Update galaxy version and galaxy.yml
2020-03-15 21:44:42 +02:00
Sagi Shnaidman
cb8b87213d Update galaxy version and galaxy.yml 2020-03-15 21:43:47 +02:00
Sergey
2bb6fb36ff
Merge pull request #12 from sshnaidm/tests
Add tests for podman_container and podman_network_info
2020-03-15 21:22:23 +02:00
Sagi Shnaidman
95f0402c06 Add tests for podman_container and podman_network_info 2020-03-15 21:20:52 +02:00
Sergey
f84be8ce3f
Merge pull request #10 from sshnaidm/podman_network_info
Add podman_network_info module
2020-03-15 21:13:11 +02:00
Sagi Shnaidman
8c718cee0d Add podman_network_info module
fix #9
2020-03-15 21:12:03 +02:00
Sergey
4841e3b19e
Merge pull request #8 from sshnaidm/podman_container
Add podman_container module from TripleO
2020-03-15 21:09:33 +02:00
Sagi Shnaidman
883a3b958e Add podman_container module from TripleO
fix #7
2020-03-15 21:08:06 +02:00
Sergey
9197efe970
Merge pull request #5 from sshnaidm/newgalver
Update galaxy version
2020-03-06 17:17:51 +02:00
Sagi Shnaidman
694db21152 Update galaxy version 2020-03-06 17:15:46 +02:00
Sergey
b7378cece8
Merge pull request #4 from sshnaidm/lic
Fix license text
2020-03-06 17:11:18 +02:00
Sagi Shnaidman
e2b3017d98 Fix license text 2020-03-06 17:07:28 +02:00
Sergey
cb59c9102b
Merge pull request #3 from sshnaidm/migrate
Migration of Podman modules from Ansible to Containers
2020-03-06 16:39:24 +02:00
Sagi Shnaidman
dc13dce52a Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00
Daniel J Walsh
f191f94e55
Merge pull request #1 from TomSweeneyRedHat/coc
Add Code of Conduct
2020-02-10 07:41:52 -05:00
TomSweeneyRedHat
0a4ece7381 Add Code of Conduct
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-02-08 15:31:21 -05:00
Daniel J Walsh
eac7d89895
Initial commit 2019-12-08 06:59:34 -05:00