mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 04:41:27 +00:00
ipa_group: Fix issue 25660 (#26282)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user