-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
5.1.0 breaks alternatives
on RHEL 8
#4803
Comments
Files identified in the description: If these files are incorrect, please update the |
ansibullbot
added
bug
This issue/PR relates to a bug
module
module
plugins
plugin (any type)
system
labels
Jun 8, 2022
CC @jiuka |
jiuka
added a commit
to jiuka/community.general
that referenced
this issue
Jun 8, 2022
If neigther the priority nor the subcommands where specified the module decided to update the priority with the default value anyway. This resulted in bug ansible-collections#4803 and ansible-collections#4804
resolved_by_pr #4810 |
Unfortunately that PR does not fix this issue, see #4810 (comment) |
felixfontein
added a commit
that referenced
this issue
Jun 13, 2022
* alternatives: Fix bug with priority default If neigther the priority nor the subcommands where specified the module decided to update the priority with the default value anyway. This resulted in bug #4803 and #4804 * Add changelog fragment. * Distinguish None from 0. * Address review comments. * Update plugins/modules/system/alternatives.py Co-authored-by: Pilou <pierre-louis@libregerbil.fr> * Remove unrelated issues from changelog. Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Pilou <pierre-louis@libregerbil.fr>
patchback bot
pushed a commit
that referenced
this issue
Jun 13, 2022
* alternatives: Fix bug with priority default If neigther the priority nor the subcommands where specified the module decided to update the priority with the default value anyway. This resulted in bug #4803 and #4804 * Add changelog fragment. * Distinguish None from 0. * Address review comments. * Update plugins/modules/system/alternatives.py Co-authored-by: Pilou <pierre-louis@libregerbil.fr> * Remove unrelated issues from changelog. Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Pilou <pierre-louis@libregerbil.fr> (cherry picked from commit 57e83ac)
felixfontein
pushed a commit
that referenced
this issue
Jun 13, 2022
* alternatives: Fix bug with priority default If neigther the priority nor the subcommands where specified the module decided to update the priority with the default value anyway. This resulted in bug #4803 and #4804 * Add changelog fragment. * Distinguish None from 0. * Address review comments. * Update plugins/modules/system/alternatives.py Co-authored-by: Pilou <pierre-louis@libregerbil.fr> * Remove unrelated issues from changelog. Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Pilou <pierre-louis@libregerbil.fr> (cherry picked from commit 57e83ac) Co-authored-by: Marius Rieder <marius.rieder@durchmesser.ch>
resolved_by_pr #4836 |
This was referenced Nov 20, 2022
Closed
Closed
Closed
Closed
Closed
Closed
This was referenced Dec 1, 2022
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When I try to run the below task, I receive a usage error from
update-alternatives
. Prior to 5.1.0, this works as expected. It looks like the--slave
argument is missing a required value (--slave unversioned-python /usr/bin/python3
compared to--slave <slave_link> <slave_name> <slave_path>
). Downgrading to5.0.2
is a workaround.Issue Type
Bug Report
Component Name
alternatives
Ansible Version
Community.general Version
Configuration
$ ansible-config dump --only-changed
OS / Environment
RHEL 8
Steps to Reproduce
Expected Results
{"changed": true}
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: