# Dictionary from Register as Module Arg

**URL:** <https://forum.ansible.com/t/dictionary-from-register-as-module-arg/15440>\
**Category:** Ansible Project\
**Created:** [June 11, 2014, 7:36am UTC](https://forum.ansible.com/t/dictionary-from-register-as-module-arg/15440 "2014-06-11T07:36:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_O](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@Matt\_O](https://forum.ansible.com/u/Matt_O)\
**Post date:** [June 11, 2014, 7:36am UTC](https://forum.ansible.com/t/dictionary-from-register-as-module-arg/15440/1 "2014-06-11T07:36:58Z")

</div>

I have a play that uses a module that I created. I’m not having trouble with this play or this module - it’s with feeding this module’s output into another module.

`

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [June 11, 2014, 7:54pm UTC](https://forum.ansible.com/t/dictionary-from-register-as-module-arg/15440/2 "2014-06-11T19:54:08Z")

</div>

You still need to specify the value as a complex arg:

- name: Verify OSPF Information  
nxapi\_ospf:  
host: “{{ inventory\_hostname }}”  
user: “admin”  
passwd: “[cisco.com](http://cisco.com/)”  
neighborInfo: “{{item.value}}”  
register: insieme.ospf  
with\_dict: insieme.topo
