# Syntax for role dependencies in meta/main.yml?

**URL:** <https://forum.ansible.com/t/syntax-for-role-dependencies-in-meta-main-yml/25662>\
**Category:** Ansible Project\
**Created:** [October 2, 2017, 8:21pm UTC](https://forum.ansible.com/t/syntax-for-role-dependencies-in-meta-main-yml/25662 "2017-10-02T20:21:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZillaYT](https://avatars.discourse-cdn.com/v4/letter/z/4da419/32.png) [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Post date:** [October 2, 2017, 8:21pm UTC](https://forum.ansible.com/t/syntax-for-role-dependencies-in-meta-main-yml/25662/1 "2017-10-02T20:21:08Z")

</div>

I’m playing with role dependencies using git repos

What is the syntax for role dependencies in the role’s meta/main.yml file? I’ve tried

`  
meta/main.yml

---

<div class="post-metadata">

**Author:** ![Soniya\_panwar](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Post date:** [October 4, 2017, 8:20am UTC](https://forum.ansible.com/t/syntax-for-role-dependencies-in-meta-main-yml/25662/2 "2017-10-04T08:20:10Z")

</div>

> > What is the syntax for role dependencies in the role’s meta/main.yml file?

You can use this syntax for the same:

meta/main.yml
