Skip to content

Commit

Permalink
ipa_group: Fix issue 25660 (ansible#26282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nosmoht authored and resmo committed Aug 29, 2017
1 parent d0bb2a4 commit 8e6c0ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/ansible/modules/identity/ipa/ipa_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
'status': ['preview'],
'supported_by': 'community'}


DOCUMENTATION = '''
---
module: ipa_group
Expand Down Expand Up @@ -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)


Expand Down

0 comments on commit 8e6c0ca

Please sign in to comment.