# Question about roles syntax

**URL:** <https://forum.ansible.com/t/question-about-roles-syntax/12775>\
**Category:** Ansible Project\
**Created:** [May 6, 2013, 7:50pm UTC](https://forum.ansible.com/t/question-about-roles-syntax/12775 "2013-05-06T19:50:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oren\_Shomron](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@Oren\_Shomron](https://forum.ansible.com/u/Oren_Shomron)\
**Post date:** [May 6, 2013, 7:50pm UTC](https://forum.ansible.com/t/question-about-roles-syntax/12775/1 "2013-05-06T19:50:21Z")

</div>

Hi everyone,

I was wondering about the syntax for parameterized roles:

roles:

---

<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:** [May 6, 2013, 8:19pm UTC](https://forum.ansible.com/t/question-about-roles-syntax/12775/2 "2013-05-06T20:19:51Z")

</div>

Both are equivalent.

I find the other form easier to read for shorter things.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [May 6, 2013, 9:18pm UTC](https://forum.ansible.com/t/question-about-roles-syntax/12775/3 "2013-05-06T21:18:23Z")

</div>

Those are actually yaml, the syntax is the same as in python which is easy to mistake.
