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

import_runtime_template_file/tasks/main.yml #142

Open Scoi4101 opened 5 years ago

Scoi4101 commented 5 years ago

This role has removed the path variable that is needed to be passed to the python API - https://github.com/IBM-Security/ibmsecurity/blob/master/ibmsecurity/isam/aac/runtime_template/file.py#L221

kurt-green commented 5 years ago

Looks like it was updated to match the api format used for the RP management root files in error. https://github.com/IBM-Security/ibmsecurity/blob/master/ibmsecurity/isam/web/reverse_proxy/management_root/file.py

dreezey commented 4 years ago

@ram-ibm The role was changed to reflect the id in the Python API, but has since been reverted back to path and name, should I open a PR to reflect the new Python API, or was this not reverted on purpose? It's currently broken as we speak:

"msg": "Error> action does not have the right set of arguments or there is a code bug! Options: isamAppliance=isam_server, force=False, id=\"C/oauth20/oidc-op/metadata.json\", filename=\"files/template-files/oidc-op/metadata.json\"",
"name": "ibmsecurity.isam.aac.runtime_template.file.import_file"
daniew01 commented 2 years ago

Hi Has this been resolved or is there another way of importing runtime template files ? I am getting the same error on the latest releases

Kind Regards

peterlindqnet commented 4 months ago

Seems this part is still broken

We tried Ansible to manage the Runtime files for the AAC module but seems not to be possible due to this open issue