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
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
b6c20717ae
Fix CI issues with Ansible 2.12 version ( #315 )
2021-10-03 00:15:20 +03:00
Sergey
3f3cdab506
Add .service extension to systemd files ( #310 )
2021-09-23 09:50:16 +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
Sergey
afe55dd277
Fix idempotency when containers have a common network ( #279 )
...
Fix #252
2021-08-16 14:28:57 +03:00
Sergey
d13fe1f850
Run tests with podman secret ( #287 )
2021-08-15 20:04:51 +03:00
Aliaksandr Mianzhynski
e9ace7b4bf
Add initial secrets support ( #284 )
...
* Add initial secrets support
2021-08-10 15:35:48 +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
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
a7629a89db
Fix multi-containers options ( #258 )
2021-05-24 09:58:33 +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
ecc02870df
Fix overlayfs issue in CI for buildah connection ( #245 )
2021-04-14 12:08:37 +03:00
Sergey
b62fb99bae
Fix ansible-test issues for CI ( #241 )
2021-04-07 10:21:08 +03:00
Sergey
16ab958a3a
Add CI for podman_login module ( #237 )
2021-04-05 20:41:53 +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
Sergey
46020ecf80
Convert IPv6 to shorten form ( #232 )
2021-04-02 03:01:50 +03:00
Sergey
b098abb00f
Fix idempotency for rootless networks from v3 ( #231 )
...
Rootless network will always have DNS enabled.
Fix #212
2021-04-02 02:36:40 +03:00
Sergey
607c120f94
Fix uppercase labels idempotency issue ( #230 )
...
When we lower cases for all keys, but leave it original case for
all values, we need to do the same with input labels.
Add test.
Fix #227
2021-04-01 16:33:27 +03:00
Sergey
f41c63815f
Stop pods without recreating them ( #229 )
...
Stop pod without recreating if its definition isn't the same as
before.
Fix #215
2021-04-01 14:52:58 +03:00
Sergey
f6ec6ac158
Add support for Podman Pod restart ( #228 )
...
Fix #223
Add tests.
2021-04-01 12:58:26 +03:00
Sergey
d87777394b
Add IPv6 support for publishing ports ( #226 )
2021-03-31 18:28:46 +03:00
Sergey
c4ba85f73c
Fixes for podman_container for Podman v3 ( #209 )
...
Fix logs, networks, etc.
2021-02-24 07:52:30 +02:00
Sergey
86c9066771
Fix idempotency for multiple ports ( #194 )
2021-02-14 09:47:32 +02:00
Sagi Shnaidman
2b073c6e89
Fix slirp4netns options idempotency
...
Fix #184
2021-02-11 01:54:42 +02:00
Sagi Shnaidman
c85718665b
Fix uid/gid checks for podman 1.6.4 volumes
...
And prepare volume tasks for versioned checks
2021-01-15 02:29:32 +02:00
Sagi Shnaidman
be87b6859c
Add debug log and podman_actions to podman_image
2021-01-08 01:37:15 +02:00
Sagi Shnaidman
c60f2c6cae
Restart container in a simple manner
...
Don't require an image when restarting container, only the
container name.
2021-01-08 00:56:42 +02:00
Sagi Shnaidman
33c7fa5842
Add 'created' state for podman_container
...
Add state 'created' which will ensure container exists in current
configuration. It can either run or not.
2021-01-06 15:20:16 +02:00
Sagi Shnaidman
1d5d02cbbb
Convert log-opts to dictionary and idempotent
2020-12-21 00:53:42 +02:00
Sagi Shnaidman
075d35daee
Fix idempotency for volume GID and UID
...
Fix #150
Add special treat for volume GIDs and UIDs options.
2020-12-20 21:10:53 +02:00
Sagi Shnaidman
04c7e18bc3
Add IPv6 to network
...
Fix CI for podman network.
Make 'subnet' required for ip-range or gateway.
Add IPv6 subnets.
2020-12-20 16:50:54 +02:00
Sergey
2a84642c3f
Add podman_containers module for multiple containers ( #141 )
2020-12-13 20:59:07 +02:00
Sagi Shnaidman
a35c9cc8ca
Add idempotency for mac_address and tests
2020-11-23 15:53:08 +02:00
cfelder
95baa8faae
podman_image: reuse existing results in present() ( #109 )
...
* podman_image: reuse existing results in present()
2020-11-08 14:04:44 +02:00
Sergey
90aea8e818
Fix logout test for podman_logout ( #138 )
2020-11-02 10:36:32 +02:00
Clemens Lange
92389abff2
Add podman_login_info module ( #133 )
...
related to #93
2020-10-26 17:32:39 +02:00
Clemens Lange
05746224e0
Add podman logout module ( #134 )
...
* Add podman logout module
* Add more tests
* Fix output string comparison (due to podman inconsistency)
* Fix copy and paste error
* Use full module path and name
Fix #94
2020-10-26 15:22:38 +02:00
Sergey
3dbca6fb91
Fix force restart option for containers ( #131 )
2020-10-24 18:04:42 +03:00
Sergey
1cf8872345
Add log level for Podman in module ( #129 )
2020-10-22 22:34:21 +03:00
Sergey
2007d84132
Fix signals case for podman_container ( #126 )
...
In #113 we made a change to lowercase only keys, but signals in
image info are upper case.
Fix tests - stop signal should be word, not number.
Related to #125 .
2020-10-20 16:54:33 +03:00
Sergey
5343cb43ed
Remove pyyaml from requirements ( #121 )
...
And remove all skips from ansible-test which were related to
imports and compiles.
2020-10-09 01:10:26 +03:00
Sergey
c9479367d9
Set options for a volume as list and fix idempotency ( #119 )
...
Options can be set multiple times for a driver, so let's configure
them as a list.
Fix idempotency for options and add tests for them.
Fix #108
2020-10-08 17:40:18 +03:00