IBM-Security / isam-ansible-roles

Ansible Custom Modules, Handlers and Tasks for ISAM. Requires "ibmsecurity" python package.
Apache License 2.0
24 stars 43 forks source link

Task config_roles.yml uses a hardcoded "ldap" type instead of a parameter #105

Open MalikDE opened 5 years ago

MalikDE commented 5 years ago

Hi, According to the webservice documentation, adding a group or a user to a role should use a "type" parameter that can have two values : The type of the user or group. Valid values are "local" and "ldap".

Instead, the value is hardcoded to "ldap" https://github.com/IBM-Security/isam-ansible-roles/blob/d3077fad74c333c593d575b4b502c1679bdf66d4/switch_auth/tasks/config_roles.yml#L13

Is it possible to add that switch_auth_XXX_type parameter to defaults variables ? Thanks.