mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 13:53:23 +00:00
Merge pull request #548 from t-woerner/user_fix_nomembers_always_triggers_mod
user: Fix no modifications to be performed error
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user