# Module Parameter Defaults (or Module Shortcut/Alias) ?

**URL:** <https://forum.ansible.com/t/module-parameter-defaults-or-module-shortcut-alias/19784>\
**Category:** Ansible Project\
**Created:** [November 17, 2015, 3:46pm UTC](https://forum.ansible.com/t/module-parameter-defaults-or-module-shortcut-alias/19784 "2015-11-17T15:46:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennis.benzinger](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@dennis.benzinger](https://forum.ansible.com/u/dennis.benzinger)\
**Post date:** [November 17, 2015, 3:46pm UTC](https://forum.ansible.com/t/module-parameter-defaults-or-module-shortcut-alias/19784/1 "2015-11-17T15:46:10Z")

</div>

Hello List,

is it possible to set defaults for the parameters of a module? Or create a shortcut/alias?

For example if I have to execute several uri calls with the same url. In case they are next  
to each other you can use a loop but otherwise you have to specify the same parameters  
again and again.

Thanks,  
Dennis Benzinger | hybris

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [November 18, 2015, 9:10pm UTC](https://forum.ansible.com/t/module-parameter-defaults-or-module-shortcut-alias/19784/2 "2015-11-18T21:10:22Z")

</div>

This is technically feasible now, but it isn’t specifically ansible functionality, instead it is YAML functionality. Here is an example playbook that displays how this works:
