diff --git a/plugins/module_utils/ansible_freeipa_module.py b/plugins/module_utils/ansible_freeipa_module.py index a18a89f7..1d1b8aae 100644 --- a/plugins/module_utils/ansible_freeipa_module.py +++ b/plugins/module_utils/ansible_freeipa_module.py @@ -778,7 +778,7 @@ else: ) if len(errors) > 0: - self.fail_json(", ".join("errors")) + self.fail_json(", ".join("errors")) # pylint: disable=E1121 def add_ipa_command(self, command, name=None, args=None): """Add a command to the list of commands to be executed."""