-
Notifications
You must be signed in to change notification settings - Fork 63
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
Implement Commit Confirm Support For Resource Modules #440
Open
rohitthakur2590
wants to merge
6
commits into
ansible-collections:main
Choose a base branch
from
rohitthakur2590:implement_confirm_commit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Implement Commit Confirm Support For Resource Modules #440
rohitthakur2590
wants to merge
6
commits into
ansible-collections:main
from
rohitthakur2590:implement_confirm_commit
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
rohitthakur2590
changed the title
Implement Commit Confirm Support In Resource Modules
[WIP] Implement Commit Confirm Support In Resource Modules
Aug 16, 2023
KB-perByte
requested changes
Aug 16, 2023
rohitthakur2590
changed the title
[WIP] Implement Commit Confirm Support In Resource Modules
[WIP] Implement Commit Support In Resource Modules
Aug 16, 2023
Signed-off-by: rohitthakur2590 <[email protected]>
rohitthakur2590
force-pushed
the
implement_confirm_commit
branch
from
December 28, 2023 16:46
ece5923
to
825ad69
Compare
rohitthakur2590
had a problem deploying
to
ack
December 28, 2023 16:46
— with
GitHub Actions
Failure
rohitthakur2590
changed the title
[WIP] Implement Commit Support In Resource Modules
Implement Commit Confirm Support For Resource Modules
Dec 28, 2023
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #440 +/- ##
=======================================
Coverage 82.34% 82.34%
=======================================
Files 139 139
Lines 13137 13137
=======================================
Hits 10818 10818
Misses 2319 2319 |
rohitthakur2590
force-pushed
the
implement_confirm_commit
branch
from
January 2, 2024 10:24
fa5a656
to
a550cca
Compare
Signed-off-by: rohitthakur2590 <[email protected]>
rohitthakur2590
force-pushed
the
implement_confirm_commit
branch
from
January 2, 2024 15:57
a550cca
to
011bcf6
Compare
Signed-off-by: rohitthakur2590 <[email protected]>
rohitthakur2590
force-pushed
the
implement_confirm_commit
branch
from
January 30, 2024 09:55
373d4bc
to
847fab4
Compare
KB-perByte
reviewed
Jan 30, 2024
Signed-off-by: rohitthakur2590 <[email protected]>
rohitthakur2590
force-pushed
the
implement_confirm_commit
branch
from
January 30, 2024 11:59
d08ecdf
to
8299ee9
Compare
KB-perByte
reviewed
Jan 30, 2024
KB-perByte
reviewed
Jan 30, 2024
KB-perByte
reviewed
Jan 30, 2024
KB-perByte
reviewed
Jan 30, 2024
KB-perByte
approved these changes
Jan 30, 2024
Signed-off-by: rohitthakur2590 <[email protected]>
rohitthakur2590
force-pushed
the
implement_confirm_commit
branch
from
January 30, 2024 14:28
83b3fa0
to
aabad06
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
resolve: #384
The current implementation of junos resource modules commits changes right away i.e playbook executes multiple junos resource modules in a row and we don't have the option to revert changes at the end of the playbook if we are left with undesired configuration.
In some cases this could also add to large CPU consumption, Junos_config does have
confirm
option and implementing this feature option in resource modules would give ability toISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION