1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-04-20 16:18:56 +00:00
Commit graph

148 commits

Author SHA1 Message Date
Sergey
23fde625f6
Strip slashes from volumes (#379)
Fix #372

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-02-17 18:29:51 +02:00
Sergey
547abfea53
Add slirp4netns idempotency for pods (#369)
Fix #367
2022-01-16 23:44:08 +02:00
Sergey
4f3a84f4e5
Add new options for pod module (#361) 2022-01-13 15:10:05 +02:00
Aliaksandr Mianzhynski
d185616a72
Update secrets description and add test with secret opts (#363)
* Update secrets description and add test with secret opts

* Make pep happy
2022-01-06 18:08:09 +02:00
Radovan Dražný
42dc5be784
Handle tlsverify correctly in podman_login (#365) 2022-01-06 17:00:10 +02:00
Timo Tomasini
9860b78ce5
Fix podman_pod_lib behavior for ports published to multiple IPs (#359)
* Fix podman_pod_lib behavior for ports published to multiple IPs

* Fix IPv6 behavior for pods and add tests

* Fix bind: cannot assign requested address issue with test container
2022-01-03 08:24:51 +02:00
Joerg Kastning
6ba6c01229
Add a second example to podman_pod_module.html (#346)
Added a second example
2021-11-29 00:13:31 +02:00
Sergey
d5e52d813f
Don't include shared 'net' if network is host in pods (#348) 2021-11-29 00:04:53 +02:00
Sergey
05515e8307
Add CI jobs and docs for podman_tag (#347) 2021-11-28 22:31:18 +02:00
Christian Bourque
f2882ecb19
Add podman_tag module #328 (#343)
Fixes #328
Co-authored-by: Christian Bourque <christian.bourque@expretio.com>
2021-11-28 18:02:24 +02:00
Aliaksandr Mianzhynski
3e7f7a00a0
Add secrets driver and driver opts support (#344) 2021-11-26 12:22:36 +02:00
Sergey
5db058ac67
Remove default value of log-driver (#340)
The default value of log-driver is not defined now and can change
depending on the platform.
2021-11-25 19:06:02 +02:00
Oliver Walsh
f3e95d0d3f
Hardcode RT signal numbers (#338)
Looking up SIGRTMIN/SIGRTMAX isn't portable.
Hardcode the Linux signal number instead.

Fixes issue #337.
2021-11-20 03:06:07 +02:00
zephyros
e6d2e86e35
Add documentations for generate_systemd (#336) 2021-11-19 16:04:06 +02:00
Luca Beltrame
cef7bdbea0
Support --new in generate_systemd (#334)
* Support --new in generate_systemd

Fixes #318.

* Add docs
2021-11-18 14:35:42 +02:00
Cédric Jeanneret
a8e81193f4
Allow to actually pass a list of string for "mounts" (#332)
Like "volume", "mount" can be passed multiple times to the container
creation/run, therefore we want to support a list of string, and a
"mounts" alias.
2021-11-09 13:40:40 +02:00
Mike
aa6d538be9
Don't add newlines to secrets (#331)
* prevent run_command from creating new lines
* removes new line from test
2021-11-01 22:22:57 +02:00
Oliver Walsh
a0377fbd24
Fix signal diff for truncated and RT signal names (#326)
* Fix signal diff for truncated and RT signal names

This refactors the signal mapping logic to closely resemble the logic in
podman.

Podman tolerates images with truncated STOPSIGNAL names e.g RTMIN+3
is used in the freeipa-container Dockerfiles.

Also avoids hardcoding real-time signals as they vary per
platform or glibc implementation (see man 7 signal).

* Cleanup lint

* More lint cleanup
2021-10-19 17:18:22 +03:00
Sean Sullivan
e90eb325ae
Update error message when pull set to false (#327) 2021-10-19 02:01:52 +03:00
Sergey
4982579c79
Add skip option for podman secret (#324) 2021-10-12 13:56:04 +03:00
Sergey
717963d66d
Fix issue with podman and exposed ports (#323) 2021-10-12 02:18:08 +03:00
Sergey
a1aec061f5
Support empty stings in prefixes (#321) 2021-10-11 23:38:58 +03:00
Jad Kik
15cd7623af
Add support for network-alias flag (#314)
* Add support for network-alias flag
* Ignore idempotency assert in tests

Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
2021-10-03 22:18:31 +03:00
Sergey
3f3cdab506
Add .service extension to systemd files (#310) 2021-09-23 09:50:16 +03:00
Bruno Marsal
8d48e30721
Fix suboption key in podman_container/podman_pod for generate_systemd documentation (#305)
* fix suboption key in podman_container -> generate_systemd documentation

As of this line 5b3f8a4d3d/plugins/module_utils/podman/common.py (L66) it should be "path", not "file"

* fix suboption key in podman_pod -> generate_systemd documentation
2021-09-19 13:54:50 +03:00
Sergey
5b3f8a4d3d
Add aliases for image load/save (#303)
To be compatible with docker_image_load module add 'path' options
as aliases.
2021-09-17 22:36:07 +03:00
Sergey
5d37e1ee22
Add systemd generation for pods (#299) 2021-09-15 02:44:06 +03:00
Sergey
24329ce5d3
Generate systemd service files for containers (#298) 2021-09-13 17:13:15 +03:00
Sergey
53338e7ec0
Add podman import/export containers modules (#297) 2021-09-12 17:01:38 +03:00
Sergey
ff4e26bbac
Podman image load module (#296) 2021-09-06 02:42:34 +03:00
Sergey
0dd471070a
Podman save module (#295) 2021-09-06 01:36:52 +03:00
Marcin Skarbek
af7772db77
Add support for podman pod create --infra-name (#292) 2021-09-01 13:42:05 +03:00
Sergey
d707f1e7de
Remove idempotency leftovers of volumes GID,UID (#289)
Fix #282
Remove UID and GID from podman volume options.
We don't support idempotency for them due to conflicting changes
in podman versions.
2021-08-16 16:07:37 +03:00
Sergey
afe55dd277
Fix idempotency when containers have a common network (#279)
Fix #252
2021-08-16 14:28:57 +03:00
Sergey
1f28b52242
Fix modules for newest pylint in ansible-test (#286) 2021-08-15 19:40:07 +03:00
Aliaksandr Mianzhynski
e9ace7b4bf
Add initial secrets support (#284)
* Add initial secrets support
2021-08-10 15:35:48 +03:00
Sergey
ed681ef10e
Fix idempotency with systemd podman files (#278)
Fix #276
Label 'podman_systemd_unit' is the marker for container starting
from systemd generated file. In this case:
* Ignore podman_systemd_unit label
* Ignore cidfile settings when this label presents
2021-08-02 12:59:43 +03: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
9ff36649ab
Change present state to be as created state (#263)
For being more compliant with docker module.
See #257
2021-07-07 18:48:50 +03:00
Sergey
8ada1501f6
Disable no-hosts idempotency (#273)
Because of podman bug we can't discover what's --no-hosts option
set to.
2021-07-07 12:11:13 +03:00
Sergey
06cc4490da
Remove idempotency for volume UID/GID (#272)
Because of difficulty with UID/GID detection in various podman
versions for volumes, don't check idempotency for volume UID/GID.
If need to recreate use "recreate" option as "true".
2021-07-07 01:51:12 +03:00
Sergey
b7e904ae74
Fix failure when listing containers (#269)
Workaround issue https://github.com/containers/podman/issues/10225
Add retries and pause for "podman ps"
2021-06-08 12:04:08 +03:00
Sergey
bcdaa9f825
Add support for timezones in containers (#262)
* Remove choices for cgroups

* Add timezone parameter to container module
2021-05-24 11:39:08 +03:00
Sergey
a7629a89db
Fix multi-containers options (#258) 2021-05-24 09:58:33 +03:00
Sergey
b3cf53e5ac
Fix idempotency for environment (#260) 2021-05-24 01:22:32 +03:00
Sergey
1c0a167a1d
Add Podman play kube module (#244)
* Add Podman play kube module
* Add tests
2021-05-12 16:52:42 +03:00
Sergey
95a402b869
Fix ipv6=false issue (#250)
Pass boolean to ipv6 option in command line.
2021-05-03 01:44:57 +03:00
Sergey
b62fb99bae
Fix ansible-test issues for CI (#241) 2021-04-07 10:21:08 +03:00
Jason Hiatt
8bb3d5d233
Podman login module (#236)
* Module for podman login

* Podman login tests

* Fixed tlsverify check
2021-04-05 16:22:13 +03:00
Sergey
2b456dfe8c
Fix error with images info where no images (#233) 2021-04-02 03:53:05 +03:00