Doc fix for docker_container image_name_mismatch (#991)

* doc-fix-image-name-mismatch

* Update description.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Michael 2024-11-23 14:12:27 +01:00 committed by GitHub
parent 78bdccd453
commit 6595d299e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -470,8 +470,8 @@ options:
- Determines what the module does if the image matches, but the image name in the container's configuration - Determines what the module does if the image matches, but the image name in the container's configuration
does not match the image name provided to the module. does not match the image name provided to the module.
- "This is ignored if C(image: ignore) is set in O(comparisons)." - "This is ignored if C(image: ignore) is set in O(comparisons)."
- If set to V(recreate) the container will be recreated. - If set to V(recreate) (default) the container will be recreated.
- If set to V(ignore) (currently the default) the container will not be recreated because of this. It might still get recreated for other reasons. - If set to V(ignore) the container will not be recreated because of this. It might still get recreated for other reasons.
This has been the default behavior of the module for a long time, but might not be what users expect. This has been the default behavior of the module for a long time, but might not be what users expect.
- The default changed from V(ignore) to V(recreate) in community.docker 4.0.0. - The default changed from V(ignore) to V(recreate) in community.docker 4.0.0.
type: str type: str