# Keys for role names in "roles:" section

**URL:** <https://forum.ansible.com/t/keys-for-role-names-in-roles-section/29712>\
**Category:** Ansible Project\
**Created:** [February 19, 2019, 8:09pm UTC](https://forum.ansible.com/t/keys-for-role-names-in-roles-section/29712 "2019-02-19T20:09:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rich\_Fletcher](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Rich\_Fletcher](https://forum.ansible.com/u/Rich_Fletcher)\
**Post date:** [February 19, 2019, 8:09pm UTC](https://forum.ansible.com/t/keys-for-role-names-in-roles-section/29712/1 "2019-02-19T20:09:11Z")

</div>

At some point in the past, the documentation specified that role names (for roles with arguments) in the roles: section were indicated by a name: key. Now, the documentation examples show that role names in that section are indicated by a "role:" key. Both syntaxes seem to work in 2.7, but: when did it change, is there documentation on it, and will the old syntax be deprecated?
