Oracle OCI Collections - how to read a return value

34 views
Skip to first unread message

Babu George

unread,
May 6, 2022, 6:09:17 AM5/6/22
to Ansible Development

Hello Team,
I am writing a play book to create a resource in Oracle OCI with Ansible OCI Collections. Once the resource is created, I need the id of the resource to use in the next play book.

I tried the "register" key word in the playbook but while execution got below error.

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (oci_dashboard_service_dashboard_group) module: register. Supported parameters include: api_user_key_file, key_by, region, compartment_id, api_user_fingerprint, dashboard_group_id (id), state, config_file_location, config_profile_name, wait_timeout, force_create, api_user, defined_tags, freeform_tags, auth_type, wait, tenancy, api_user_key_pass_phrase, display_name (name), opc_cross_region, description."}

Please help me what is the method to read a value from the output.

Thanks
Babu George

rajtheco...@gmail.com

unread,
Jun 27, 2022, 10:41:40 PM6/27/22
to Ansible Development
Show me the playbook
Reply all
Reply to author
Forward
0 new messages