diff options
author | Felix Fontein <felix@fontein.de> | 2020-02-03 23:27:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 23:27:40 +0100 |
commit | 23b2bb4f4dc68ffa385e74b5d5c304f461887965 (patch) | |
tree | f2428c771381500f07d3c3cb76cc53fa35550220 /docs/docsite | |
parent | 21ae66db2ecea3fef21b9b73b5e890809d58631e (diff) | |
download | ansible-23b2bb4f4dc68ffa385e74b5d5c304f461887965.tar.gz |
docker_container: change behavior for one-port container ranges to be same as docker CLI (#66382)
* Adjust docker_container behavior for one-port container ranges to be similar to docker CLI.
* Add changelog.
* Add documented examples for ports:.
Diffstat (limited to 'docs/docsite')
-rw-r--r-- | docs/docsite/rst/porting_guides/porting_guide_2.10.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/docsite/rst/porting_guides/porting_guide_2.10.rst b/docs/docsite/rst/porting_guides/porting_guide_2.10.rst index 74a8aed46b..331b97f52e 100644 --- a/docs/docsite/rst/porting_guides/porting_guide_2.10.rst +++ b/docs/docsite/rst/porting_guides/porting_guide_2.10.rst @@ -109,6 +109,7 @@ Noteworthy module changes * Junction points are no longer reported as ``islnk``, use ``isjunction`` to properly report these files. This behaviour matches the :ref:`win_stat <win_stat_module>` * Directories no longer return a ``size``, this matches the ``stat`` and ``find`` behaviour and has been removed due to the difficulties in correctly reporting the size of a directory * :ref:`docker_container <docker_container_module>` no longer passes information on non-anonymous volumes or binds as ``Volumes`` to the Docker daemon. This increases compatibility with the ``docker`` CLI program. Note that if you specify ``volumes: strict`` in ``comparisons``, this could cause existing containers created with docker_container from Ansible 2.9 or earlier to restart. +* :ref:`docker_container <docker_container_module>`'s support for port ranges was adjusted to be more compatible to the ``docker`` command line utility: a one-port container range combined with a multiple-port host range will no longer result in only the first host port be used, but the whole range being passed to Docker so that a free port in that range will be used. * :ref:`purefb_fs <purefb_fs_module>` no longer supports the deprecated ``nfs`` option. This has been superceeded by ``nfsv3``. Plugins |