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
Adding changed option to save_when #40640
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibot
added
affects_2.6
This issue/PR affects Ansible v2.6
core_review
In order to be merged, this PR must follow the core review workflow.
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
networking
Network category
nxos
Cisco NXOS community
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
support:network
This issue/PR relates to code supported by the Ansible Network Team.
test
This PR relates to tests.
labels
May 24, 2018
jborean93
removed
the
needs_triage
Needs a first human triage before being processed.
label
May 24, 2018
trishnaguha
suggested changes
May 24, 2018
startup-config | ||
startup-config. If the argument is set to I(changed), then the running-config | ||
will only be copied to the startup-config if the task has made a change. | ||
I(changed) was added in Ansible 2.5. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be Ansible 2.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Fixed in latest push.
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
labels
May 24, 2018
trishnaguha
approved these changes
May 24, 2018
gothicx
pushed a commit
to gothicx/ansible
that referenced
this pull request
Jun 9, 2018
* Adding changed option to save_when * Fixing version when changed was added.
jacum
pushed a commit
to jacum/ansible
that referenced
this pull request
Jun 26, 2018
* Adding changed option to save_when * Fixing version when changed was added.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.6
This issue/PR affects Ansible v2.6
cisco
Cisco technologies
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
networking
Network category
nxos
Cisco NXOS community
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
support:network
This issue/PR relates to code supported by the Ansible Network Team.
test
This PR relates to tests.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Adding a new option
save_when: changed
. Saves the config if a change has been made during the execution of the module, just like aruba_config.Fixes the deprecation version, similar to #32980.
ISSUE TYPE
COMPONENT NAME
nxos_config
ANSIBLE VERSION