ipa_group: Fix issue 25660 (#26282)
This commit is contained in:
parent
d0bb2a41d4
commit
8e6c0ca599
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,6 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
'status': ['preview'],
|
||||
'supported_by': 'community'}
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: ipa_group
|
||||
|
@ -195,6 +194,10 @@ def get_group_diff(client, ipa_group, module_group):
|
|||
module_group['posix'] = True
|
||||
del module_group['nonposix']
|
||||
|
||||
if 'external' in module_group:
|
||||
if module_group['external'] and 'ipaexternalgroup' in ipa_group.get('objectclass'):
|
||||
del module_group['external']
|
||||
|
||||
return client.get_diff(ipa_data=ipa_group, module_data=module_group)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue