1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-04-05 17:07:11 +00:00
ansible-podman-collections/plugins/module_utils
sedrubal 0ae6baac3d
Fix idempotency for RestartPolicy when MaximumRetryCount > 0 (#607)
Before this change, this task:

```ansible
- containers.podman.podman_container:
    # ...
    restart_policy: on-failure:3
    # ...
```

always caused this diff:

```diff
--- before
+++ after
@@ -1 +1 @@
-restart_policy - on-failure
+restart_policy - on-failure:3
```

Signed-off-by: Sebastian Endres <sebastian.endres@dlr.de>
Co-authored-by: Sebastian Endres <sebastian.endres@dlr.de>
2023-07-30 21:59:13 +03:00
..
podman Fix idempotency for RestartPolicy when MaximumRetryCount > 0 (#607) 2023-07-30 21:59:13 +03:00
__init__.py Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00