add default value of group_filter for idempotency on replay
@@ -125,7 +125,8 @@ def main():
argspec['discover_dn'] = dict(required=False, type='bool', default=False)
argspec['deny_null_bind'] = dict(required=False, type='bool', default=True)
argspec['upn_domain'] = dict(required=False, type='str', default='')
- argspec['group_filter'] = dict(required=False, type='str')
+ argspec['group_filter'] = dict(required=False, type='str',
+ default='(|(memberUid={{.Username}})(member={{.UserDN}})(uniqueMember={{.UserDN}}))')
argspec['group_attr'] = dict(required=False, type='str', default='cn')
argspec['group_dn'] = dict(required=False, type='str', default='')
module = hashivault_init(argspec, supports_check_mode=True)
