diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py index 52463abb6f02abe366d8416c1a52545c7f89dab1..3657a62601d8835445fa35a5357df71352663526 100644 --- a/plugins/modules/ipauser.py +++ b/plugins/modules/ipauser.py @@ -1115,8 +1115,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: