Skip to content

Commit

Permalink
ipagroup: Fix test for externalmember use in client context
Browse files Browse the repository at this point in the history
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
  • Loading branch information
t-woerner committed Feb 4, 2025
1 parent c1d7ed1 commit d540be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/ipagroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d540be4

Please sign in to comment.