-
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
fix alternatives parsing when they are part of a group #3976
fix alternatives parsing when they are part of a group #3976
Conversation
Thanks for your contribution! Can you please add a changelog fragment? |
I no longer have the setup to test this against, but I believe this would fix that particular issue. |
Thanks for the feedback. If nobody complains until next Monday, I'll merge this then. |
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #4020 🤖 @patchback |
* fix alternatives parsing when they are part of a group * add changelog fragment Co-authored-by: Guillaume Rousse <guillaume.rousse@renater.fr> (cherry picked from commit a675afc)
@guillomovitch thanks for fixing this! |
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #4021 🤖 @patchback |
* fix alternatives parsing when they are part of a group * add changelog fragment Co-authored-by: Guillaume Rousse <guillaume.rousse@renater.fr> (cherry picked from commit a675afc)
* fix alternatives parsing when they are part of a group * add changelog fragment Co-authored-by: Guillaume Rousse <guillaume.rousse@renater.fr> (cherry picked from commit a675afc) Co-authored-by: Guillaume Rousse <guillomovitch@gmail.com>
* fix alternatives parsing when they are part of a group * add changelog fragment Co-authored-by: Guillaume Rousse <guillaume.rousse@renater.fr> (cherry picked from commit a675afc) Co-authored-by: Guillaume Rousse <guillomovitch@gmail.com>
SUMMARY
Fixes 'alternatives --display' output parsing when an alternative is part of a group.
ISSUE TYPE
COMPONENT NAME
alternatives
ADDITIONAL INFORMATION
When an alternative is a part of a family (a group with master and slave links), an additional piece of information is present in 'alternatives --display' output , such as:
Without this fix, ansible never find an existing alternative, and always installs a new one before activating it, breaking the group at the same time.