# pass module args as extra variable

**URL:** <https://forum.ansible.com/t/pass-module-args-as-extra-variable/33717>\
**Category:** Ansible Project\
**Created:** [September 1, 2020, 7:15pm UTC](https://forum.ansible.com/t/pass-module-args-as-extra-variable/33717 "2020-09-01T19:15:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nic\_H](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@Nic\_H](https://forum.ansible.com/u/Nic_H)\
**Post date:** [September 1, 2020, 7:15pm UTC](https://forum.ansible.com/t/pass-module-args-as-extra-variable/33717/1 "2020-09-01T19:15:54Z")

</div>

Hi,  
in order to debug a playbook , I need to pass some value to a module\_arg at run time .  
I thought using extra-variables but it doesn’t work, args still show ‘null’  
The module is elasticache and I need to try a run with hard\_modify = true .  
But this is not part as one of the existing variable in my playbook,  
I just need to override at runtime the default value from the module (I am using Tower)  
I tried the following:  
elasticache:  
hard\_modify: true

as well as :  
elasticache.hard\_modify: true

but none worked and the default value is still returned.
