Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker_container: deprecate current behavior when specifying all with other port mappings #60

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Regarding #8, deprecate the current behavior when published_ports contains port mappings next to the special value all.

The deprecation meesage informs user that the current behavior (which they might not be aware of) will change in a breaking way, namely either it will be forbidden, or properly handled (like Docker CLI) in community.docker 2.0.0.

I didn't want to promise that I implement it properly, that's why I keep the possibliity to simply forbid it. In that case, specifying both all and port mappings will make the module fail. This can be changed anytime later (would be a new feature at that point).

ISSUE TYPE
  • Bugfix Pull Request
  • Feature Pull Request
COMPONENT NAME

docker_container

@felixfontein felixfontein merged commit 1277942 into ansible-collections:main Dec 26, 2020
@felixfontein felixfontein deleted the docker_container-publish-all branch December 26, 2020 17:20
@felixfontein
Copy link
Collaborator Author

@ssbarnea thanks for reviewing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants