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

set_oauth_definition - Needs a default(omit) on the parameter if its optional #160

Open Scoi4101 opened 4 years ago

Scoi4101 commented 4 years ago

set_oauth_definition

Needs a default(omit) on the parameter if its optional

ram-ibm commented 4 years ago

The default/main.yml has defaults set - so not sure if we need anything else? Please provide a bit more information. Thanks.

Scoi4101 commented 4 years ago

Sorry again i didn't provide enough details :

https://github.com/IBM-Security/isam-ansible-roles/blob/master/set_oauth_definition/tasks/main.yml#L29

The accessPolicyName doesn't have a default value in the defaults section.

So add the default as blank or add the default('omit') to the task.