Skip to content

Commit

Permalink
Doc fix for docker_container image_name_mismatch (#991) (#997)
Browse files Browse the repository at this point in the history
* doc-fix-image-name-mismatch

* Update description.

---------

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 6595d29)

Co-authored-by: Michael <[email protected]>
  • Loading branch information
patchback[bot] and meeque authored Nov 23, 2024
1 parent 46e860d commit 8fc5628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/docker_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@
- 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.
Expand Down

0 comments on commit 8fc5628

Please sign in to comment.