Make docker_swarm_service option publish.published_port optional (#101)

* Change docker_swarm_service option publish.published_port from required to optional. If not specified random high port is assigned by docker.

* Update changelogs/fragments/101-make-service-published-port-optional.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
sgpinkus
2021-03-13 23:37:56 +11:00
committed by GitHub
parent b42b76fc45
commit 5b74313023
2 changed files with 8 additions and 4 deletions
@@ -0,0 +1,3 @@
minor_changes:
- docker_swarm_service - change ``publish.published_port`` option from mandatory
to optional. Docker will assign random high port if not specified (https://github.com/ansible-collections/community.docker/issues/99).