mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
86387df8b3
This commit adds a conditional inside the constructor so that if a user didn't specified an image parameter all the code related to the image version comparison is omitted. This is extremely useful when a user want to just stop and start containers using just the name, keeping everything as it is, without the need of specifying all the image and command stuff used at creation. Today if you don't specify the image you get an error, and this is a confusing [1] behavior. [1] https://github.com/ansible/ansible/issues/27960 |
||
---|---|---|
.. | ||
ansible |