From 8fc562825c77d82d096f4d385543925ab2b94656 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:30:42 +0100 Subject: [PATCH] Doc fix for docker_container image_name_mismatch (#991) (#997) * doc-fix-image-name-mismatch * Update description. --------- Co-authored-by: Felix Fontein (cherry picked from commit 6595d299e2fbcb617e21b5548ad00e0d5198c474) Co-authored-by: Michael --- 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 832a2cf4..ab4535c0 100644 --- a/plugins/modules/docker_container.py +++ b/plugins/modules/docker_container.py @@ -482,8 +482,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. - Since community.docker 3.5.0, the default V(ignore) has been deprecated. If not specified, a deprecation warning will be emitted if this setting would make a difference. The default will change to V(recreate) in community.docker 4.0.0.