1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-04-17 06:41:26 +00:00
ansible-podman-collections/plugins/module_utils
Alessandro Fulgini 4d233a4146
Alias generate systemd options stop_timeout and time (#685)
* Alias generate systemd options `stop_timeout` and `time`

Closes #683

Option `time` was used before Podman v4, then it was renamed
`stop_timeout`.
Accept both names (the newer takes prirority) and set the correct
CLI argument name based on the detected Podman version.

Signed-off-by: Alessandro Fulgini <fuljo97@gmail.com>

* Fix typo in parameter name `--stop-timeout`

Signed-off-by: Alessandro Fulgini <fuljo97@gmail.com>

* Don't delete temporary variables at the end of block

Co-authored-by: Sergey <6213510+sshnaidm@users.noreply.github.com>

---------

Signed-off-by: Alessandro Fulgini <fuljo97@gmail.com>
Co-authored-by: Sergey <6213510+sshnaidm@users.noreply.github.com>
2023-12-07 11:24:28 +02:00
..
podman Alias generate systemd options stop_timeout and time (#685) 2023-12-07 11:24:28 +02:00
__init__.py Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00