Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
5364ace1
Unverified
Commit
5364ace1
authored
4 years ago
by
Rafael Guterres Jeffman
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #548 from t-woerner/user_fix_nomembers_always_triggers_mod
user: Fix no modifications to be performed error
parents
ea823518
3147f312
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/modules/ipauser.py
+7
-2
7 additions, 2 deletions
plugins/modules/ipauser.py
with
7 additions
and
2 deletions
plugins/modules/ipauser.py
+
7
−
2
View file @
5364ace1
...
...
@@ -1111,8 +1111,13 @@ def main():
# For all settings is args, check if there are
# different settings in the find result.
# If yes: modify
if
not
compare_args_ipa
(
ansible_module
,
args
,
res_find
):
# The nomembers parameter is added to args for the
# api command. But no_members is never part of
# res_find from user-show, therefore this parameter
# needs to be ignored in compare_args_ipa.
if
not
compare_args_ipa
(
ansible_module
,
args
,
res_find
,
ignore
=
[
"
no_members
"
]):
commands
.
append
([
name
,
"
user_mod
"
,
args
])
else
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment