# Oracle OCI Collections - how to read a return value

**URL:** <https://forum.ansible.com/t/oracle-oci-collections-how-to-read-a-return-value/36601>\
**Category:** Ansible Developer\
**Created:** [May 6, 2022, 10:09am UTC](https://forum.ansible.com/t/oracle-oci-collections-how-to-read-a-return-value/36601 "2022-05-06T10:09:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babu\_George](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Babu\_George](https://forum.ansible.com/u/Babu_George)\
**Post date:** [May 6, 2022, 10:09am UTC](https://forum.ansible.com/t/oracle-oci-collections-how-to-read-a-return-value/36601/1 "2022-05-06T10:09:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Pushparaj\_Gothandam](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pushparaj_gothandam/32/5538_2.png) [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Post date:** [June 28, 2022, 2:41am UTC](https://forum.ansible.com/t/oracle-oci-collections-how-to-read-a-return-value/36601/2 "2022-06-28T02:41:40Z")

</div>

Show me the playbook
