# Extending get\_url module with 'backup' parameter

**URL:** <https://forum.ansible.com/t/extending-get-url-module-with-backup-parameter/20148>\
**Category:** Ansible Developer\
**Created:** [January 8, 2016, 4:28am UTC](https://forum.ansible.com/t/extending-get-url-module-with-backup-parameter/20148 "2016-01-08T04:28:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![techraf](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@techraf](https://forum.ansible.com/u/techraf)\
**Post date:** [January 8, 2016, 4:28am UTC](https://forum.ansible.com/t/extending-get-url-module-with-backup-parameter/20148/1 "2016-01-08T04:28:34Z")

</div>

I miss the ‘backup’ parameter in the ‘get\_url’ (working in the same manner as ‘backup’ in the ‘copy’ module) so I wanted to extend the module myself.

I checked the code of get\_url.py and copy.py and before changing I added:

`  
backup=yes

`

to the playbook. To my surprise playbook did not fail. If I changed the parameter name to something other it stopped with:

`  
msg: unsupported parameter for module: backupdest

`

What am I missing? Is there some “global” check for parameters outside of individual modules?
