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

edgeos: Always exit configure mode #88

Closed
wants to merge 1 commit into from
Closed

edgeos: Always exit configure mode #88

wants to merge 1 commit into from

Conversation

jplitza
Copy link
Contributor

@jplitza jplitza commented Apr 1, 2020

SUMMARY

Previously, the configure mode was kept active when not committing the changes.
This made later invocations of show configuration commands invalid (because
that command must be executed outside of configure mode) which caused all later
edgeos_config module invocations in check_mode to erroneously return a changed
state.

I have tested that the behavior in check_mode is fixed and unchanged (working) without check_mode.

Fixes ansible/ansible#68350

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

edgeos

Previously, the configure mode was kept active when not committing the
changes. This made later invocations of `show configuration commands`
invalid (because that command must be executed outside of configure
mode) which caused all later edgeos_config module invocations in
check_mode to erroneously return a changed state.
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The network modules are currently moved out of this collection into a new community.network collection. While that move is in progress, no network PRs will be merged. Once the move is complete, we'll write here where to recreate this PR. Sorry for the inconvenience!

(Marking with a "Change Request" review so that this won't be accidentally merged.)

CC @gundalow

@felixfontein
Copy link
Collaborator

The new community.network collection is online: https://github.com/ansible-collections/community.network

Tests are not yet working properly, but if you want you can already migrate your PR there!

@jplitza
Copy link
Contributor Author

jplitza commented Apr 8, 2020

Replaced by ansible-collections/community.network#7

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.

edgeos_config in check_mode reports too many changes
2 participants