Aliaksandr Mianzhynski
3e7f7a00a0
Add secrets driver and driver opts support ( #344 )
2021-11-26 12:22:36 +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
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
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
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
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
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
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
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
af89807468
Don't calculate image digest in check mode ( #214 )
2021-03-01 13:21:22 +02:00
Sergey
5b133ee898
Fix internal networks and DNS plugin for v3 ( #210 )
2021-02-24 08:28:19 +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
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
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
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
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
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
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