# The position of argument is mandatory: bug or missing docs?

**URL:** <https://forum.ansible.com/t/the-position-of-argument-is-mandatory-bug-or-missing-docs/11850>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [August 31, 2012, 5:20pm UTC](https://forum.ansible.com/t/the-position-of-argument-is-mandatory-bug-or-missing-docs/11850 "2012-08-31T17:20:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marco\_Vito\_Moscarito](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@Marco\_Vito\_Moscarito](https://forum.ansible.com/u/Marco_Vito_Moscarito)\
**Post date:** [August 31, 2012, 5:20pm UTC](https://forum.ansible.com/t/the-position-of-argument-is-mandatory-bug-or-missing-docs/11850/1 "2012-08-31T17:20:31Z")

</div>

Hello,  
&nbsp;&nbsp;after a day of test using ansible 0.7 (checkout today) i find this "bug":

WORK:  
&nbsp;&nbsp;- name: deploy test application  
&nbsp;&nbsp;&nbsp;&nbsp;action: file path=/var/www/test owner=www-data group=www-data  
state=directory

FAIL:  
&nbsp;&nbsp;- name: deploy test application  
&nbsp;&nbsp;&nbsp;&nbsp;action: file path=/var/www/test state=directory owner=www-data  
group=www-data

(tested on Ubuntu 12.04).

The position of argument is mandatory or is a bug? I search on docs  
(andd googled) but I and can't find reference on this requerement.

Bye  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Marco

PS: I don't open bug on GitHub because I'm not sure is a bug 😃

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [August 31, 2012, 5:32pm UTC](https://forum.ansible.com/t/the-position-of-argument-is-mandatory-bug-or-missing-docs/11850/2 "2012-08-31T17:32:52Z")

</div>

When you said it failed, can you please include output of _how_ it failed?

Argument order should not play a factor here.

---

<div class="post-metadata">

**Author:** ![Marco\_Vito\_Moscarito](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@Marco\_Vito\_Moscarito](https://forum.ansible.com/u/Marco_Vito_Moscarito)\
**Post date:** [September 1, 2012, 2:15pm UTC](https://forum.ansible.com/t/the-position-of-argument-is-mandatory-bug-or-missing-docs/11850/3 "2012-09-01T14:15:38Z")

</div>

I make a test playbook.. and it work!  
Sorry, maybe I made much tests on the same machine without restart it.

You can consider this "bug" unreproducible.

Bye  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Marco
