ipa_group: Fix issue 25660 (#26282)

This commit is contained in:
Thomas Krahn 2017-08-29 08:37:16 +02:00 committed by René Moser
parent d0bb2a41d4
commit 8e6c0ca599

View file

@ -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)