From 6595d299e2fbcb617e21b5548ad00e0d5198c474 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 23 Nov 2024 14:12:27 +0100 Subject: [PATCH] Doc fix for docker_container image_name_mismatch (#991) * doc-fix-image-name-mismatch * Update description. --------- Co-authored-by: Felix Fontein --- plugins/modules/docker_container.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/docker_container.py b/plugins/modules/docker_container.py index 49422775..4760bfde 100644 --- a/plugins/modules/docker_container.py +++ b/plugins/modules/docker_container.py @@ -470,8 +470,8 @@ options: - 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. - "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(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(recreate) (default) the container will be recreated. + - 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. - The default changed from V(ignore) to V(recreate) in community.docker 4.0.0. type: str