diff --git a/plugins/modules/ipaservice.py b/plugins/modules/ipaservice.py index e0da817cbb71523b7714ea34b060624daf07a1be..9468e9dd49cc2266bf54ec797636708ccf6ed0d1 100644 --- a/plugins/modules/ipaservice.py +++ b/plugins/modules/ipaservice.py @@ -304,8 +304,8 @@ def check_parameters(module, state, action, names, parameters): for _invalid in invalid: if parameters[_invalid] is not None: module.fail_json( - msg="Argument '%s' can not be used with state '%s'" % - (_invalid, state)) + msg="Argument '%s' can not be used with state '%s', " + "action '%s'" % (_invalid, state, action)) def init_ansible_module():