# Ansible Task Arguments

**URL:** <https://forum.ansible.com/t/ansible-task-arguments/27696>\
**Category:** Ansible Project\
**Created:** [June 4, 2018, 12:19am UTC](https://forum.ansible.com/t/ansible-task-arguments/27696 "2018-06-04T00:19:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlton\_Patterson1](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Post date:** [June 4, 2018, 12:19am UTC](https://forum.ansible.com/t/ansible-task-arguments/27696/1 "2018-06-04T00:19:08Z")

</div>

Hello Community,

I have crreated my own Module (pattersonsmod) with my own set of arguments, see image. Can someone let me know if the order of arguments is important? In the image the notify argument is at the beginning of the of the set of arguments, however typically notify would be at the end. Does it matter that notify argument is at the beginning instead of being placed at the end of the arguments?

[![](https://lh3.googleusercontent.com/-op_ODyq9nj0/WxSFcB433cI/AAAAAAAALQA/mycUndHs6xgZF9ejHbVYZZzmse7sSqeIgCLcBGAs/s320/argumentsansible.png)](https://lh3.googleusercontent.com/-op_ODyq9nj0/WxSFcB433cI/AAAAAAAALQA/mycUndHs6xgZF9ejHbVYZZzmse7sSqeIgCLcBGAs/s1600/argumentsansible.png)

Cheers

Carlton

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [June 5, 2018, 1:52am UTC](https://forum.ansible.com/t/ansible-task-arguments/27696/2 "2018-06-05T01:52:01Z")

</div>

order does not matter, but indentation does, notify and with\_items are TASK keywords not module options, they should be flush with ‘name’ and outside the module options.

---

<div class="post-metadata">

**Author:** ![Carlton\_Patterson1](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Post date:** [June 5, 2018, 9:23pm UTC](https://forum.ansible.com/t/ansible-task-arguments/27696/3 "2018-06-05T21:23:11Z")

</div>

Thanks Brian
