-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add subcommands parameter for module alternatives. #4654
Merged
felixfontein
merged 28 commits into
ansible-collections:main
from
jiuka:alternatives_slaves
Jun 6, 2022
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fad8c09
Add slaves parameter for module alternatives.
jiuka b7606a5
alternatives: Improve documentation abous slaves parameter
jiuka 88a00ae
alternatives: Apply suggestions from code review
jiuka fc2b694
alternatives: Add schangelog for slaves parameter
jiuka 910e7fe
alernatives: Add integration tests
jiuka b3658ed
alternatives: Improv tests
jiuka 197e98c
alternatives: Update tests/integration/targets/alternatives/tasks/sla…
jiuka 81cf47d
alternatives: Rework logic to support updating priority and subcommands
jiuka 4516c88
alternatives: Use more inclusive naming
jiuka 8ee5cfd
alternatives: Fix linter warnings
jiuka 7ff3983
alternatives: Dont fail if link is absent
jiuka e9a128f
alternatives: Update changelog fragment
jiuka c242382
alternatives: Add tests for prio change and removing
jiuka 63e1d2c
alternatives: Apply suggestions from code review
jiuka aaf2a83
alternatives: Add `state=auto`to reset mode to auto
jiuka 87b9f66
alternatives: Fix linter warnings
jiuka 708ef3e
alternatives: Fix documentation.
jiuka 851be5e
alternatives: Combine multiple messages.
jiuka 56a09b7
alternatives: Set command env for all commands.
jiuka 6ef4b5f
alternatives: Do not update subcommands if parameter is omited
jiuka 66a7b3d
alternatives: Fix a bug with python 2.7 var scoping
jiuka e2751ce
alternatives: Improce diff before generation
jiuka 1935016
alternatives: Fix linter warnings
jiuka b30160b
alternatives: Fix test names
jiuka 8ed1836
alternatives: Simplify subcommands handling and improve diffs
jiuka 8c2fa33
aliases: Only test for subcommand changes if subcommands parameter is…
jiuka 069eed7
Update plugins/modules/system/alternatives.py
jiuka abd45ff
Apply suggestions from code review
felixfontein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
minor_changes: | ||
- alternatives - add ``subcommands`` parameter (https://github.com/ansible-collections/community.general/pull/4654). | ||
jiuka marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- alternatives - add ``state=absent`` to be able to remove an alternative (https://github.com/ansible-collections/community.general/pull/4654). |
Oops, something went wrong.
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.
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.
Would be glad if you would consider to add yourself here instead of at the ignore list :) Then you'd be one of the module maintainers (resp. probably the only active one since right now nobody seems to be active) for the alternatives module, and would be informed of issues and new PRs for that module.