ipagroup: Fix test for externalmember use in client context

The test has been changed with the management fix for AD objects. The
conditional was lacking brackets and therefore did not properly work.
The brackets have been added.

Related: https://issues.redhat.com/browse/RHEL-70023
This commit is contained in:
Thomas Woerner
2025-02-04 12:28:00 +01:00
parent c1d7ed1df6
commit d540be425a

View File

@@ -581,8 +581,8 @@ def main():
"https://pagure.io/freeipa/issue/9349")
if (
externalmember is not None
or idoverrideuser is not None
(externalmember is not None
or idoverrideuser is not None)
and context == "client"
):
ansible_module.fail_json(