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
ed3a3dc080
Fix no_log for newer ansible-test ( #221 )
2021-03-16 16:28:58 +02:00
Andreas Gerstmayr
303486c52c
Add sigrtmin+3 signal (required for systemd containers) ( #220 )
2021-03-13 12:30:13 +02:00
Sergey
af89807468
Don't calculate image digest in check mode ( #214 )
2021-03-01 13:21:22 +02:00
Elias Norrby
4da30fd3fd
Attempt graceful stop when recreating container ( #203 )
...
References: containers/ansible-podman-collections#202
Co-authored-by: Sergey <sshnaidm@users.noreply.github.com>
2021-02-24 13:19:37 +02:00
Sergey
5b133ee898
Fix internal networks and DNS plugin for v3 ( #210 )
2021-02-24 08:28:19 +02:00
Sergey
c4ba85f73c
Fixes for podman_container for Podman v3 ( #209 )
...
Fix logs, networks, etc.
2021-02-24 07:52:30 +02:00
Sergey
9f45c40ea9
Fix podman_pod* modules for Podman v3 ( #207 )
...
Fix network in podman_pod modules for Podman v3
2021-02-23 15:57:25 +02:00
Sergey
86c9066771
Fix idempotency for multiple ports ( #194 )
2021-02-14 09:47:32 +02:00
Sagi Shnaidman
8a61f88d66
Don't recreate container if env_file is specified
...
Fix #178
2021-02-11 04:34:25 +02:00
Sagi Shnaidman
596aab757f
Fix pylint issues for ansible-test
2021-02-11 04:22:04 +02:00
Sagi Shnaidman
2b073c6e89
Fix slirp4netns options idempotency
...
Fix #184
2021-02-11 01:54:42 +02:00
Sagi Shnaidman
0bdaa4a78f
Fix ambigous variable issue for pylint
2021-02-10 20:54:00 +02:00
Sagi Shnaidman
e4f5a8eabe
Convert systemd option to a string
...
And set it to lower to workaround bugs in 3.0.1
2021-02-10 20:14:03 +02:00
Sagi Shnaidman
885af0c7c5
Change default log level for 3+ versions
2021-02-10 18:13:39 +02:00
Georgi Valkov
b911939f07
Fix 'cap_add' and 'cap_drop' idempotency
...
- Ensure that comparison always happens on lower-case values.
- Take into account that capabilities can be specified with or
without the 'CAP_' prefix.
2021-02-01 11:24:14 +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
Justin Riley
db09d8e778
podman_container_lib: fix command idempotency
...
preserve case sensitivity by removing the use of lower() and using shlex
to split the command string
2021-01-12 13:38:28 +02:00
Sagi Shnaidman
d9e392f47e
Don't set default for validate-certs in podman_image
2021-01-08 13:02:13 +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
bae71956b7
Handle slash removals for root volumes mount
2020-12-27 16:00:46 +02:00
Sagi Shnaidman
00d490b95c
Convert gidmap to list for podman_container
...
Fix #152
2020-12-21 00:53:42 +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
62638bac26
Fix no_hosts idempotency for newer version
2020-12-20 18:30:17 +02:00
Sagi Shnaidman
cd652fe2ee
Remove 'detach' when creating container
2020-12-20 18:30:17 +02:00
Sagi Shnaidman
6f8df336bc
Add support of network options like MTU, VLAN
2020-12-20 16:50:54 +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
Sergey
fecc0739d6
Fix doc defaults for podman_image ( #151 )
2020-12-08 12:31:57 +02:00
Sagi Shnaidman
a35c9cc8ca
Add idempotency for mac_address and tests
2020-11-23 15:53:08 +02:00
Eric L
29a4bfa8e0
Add mac_address field to podman_container module
...
* extended description of podman_container
* add mac_address field and add_param function in podman_container_lib
* closes #146
2020-11-23 15:53:08 +02:00
Eric L
baf459ec23
Correct IP range example for podman_network ( #149 )
...
the IP range must be in CIDR notation not IP1-IP2, at least according to man page
of podman-network-create
Co-authored-by: Eric L <ewl+git@lavar.de>
2020-11-23 14:16:32 +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
Riyad Preukschas
9bc1233a73
Improve compatibility with docker_container by adding aliases ( #142 )
2020-11-07 19:54:27 +02:00
Sergey
90e6bc33f9
Move pod logic to separate library ( #140 )
2020-11-04 15:04:48 +02:00
Sergey
bf752e4492
Move containers logic to module utils ( #139 )
2020-11-03 09:55:23 +02:00
Clemens Lange
db7b4ca099
Handle podman logout not logging out when logged in via different tool ( #137 )
2020-10-27 22:16:16 +02:00
Sergey
e1d35e70c6
Add strict image compare with hashes ( #136 )
2020-10-26 19:23:46 +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