# module\_defaults not working

**URL:** <https://forum.ansible.com/t/module-defaults-not-working/31949>\
**Category:** Ansible Project\
**Created:** [January 12, 2020, 1:19pm UTC](https://forum.ansible.com/t/module-defaults-not-working/31949 "2020-01-12T13:19:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Punit\_Jain](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Post date:** [January 12, 2020, 1:19pm UTC](https://forum.ansible.com/t/module-defaults-not-working/31949/1 "2020-01-12T13:19:55Z")

</div>

Hi,

I have a playbook which imports custom role and passes required attributes. My requirement is to pass only required attributes and role specify remaining. below is explained in detail.

playbook
