-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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 always reports changed when using network_mode: container:<name> #49794
Comments
Files identified in the description: If these files are inaccurate, please update the |
This has been fixed in #47997; it is contained both in Ansible 2.7.2 and 2.6.x (don't ask me from which X on, though :) ). |
No, this is definitely still happening. I just wrote up some integ tests to verify it and I'm seeing the reported functionality in 2.8. While pid_mode and ipc_mode have their container names replaced, network_mode doesn't. |
@felixfontein this is still happening for me with 2.7.2
|
Ah, I guess I misread that, then. Sorry! |
reopening on requests. |
Guess the bot really wants this closed. Regardless, I've already got a fix in PR. I'll backport it to 2.7 once it's merged in, though it won't be released until 2.7.6, since 2.7.5 is already locked down. |
Thank you, @DBendit |
SUMMARY
when using docker_container, if you set network_mode with a container:name, it always reports changed
ISSUE TYPE
COMPONENT NAME
docker_container
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Host and guest are Ubuntu 18.04
STEPS TO REPRODUCE
EXPECTED RESULTS
Do it again should not report
changed
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: