# Run "implicit" role using Ansible

**URL:** <https://forum.ansible.com/t/run-implicit-role-using-ansible/18124>\
**Category:** Ansible Project\
**Created:** [April 29, 2015, 12:06pm UTC](https://forum.ansible.com/t/run-implicit-role-using-ansible/18124 "2015-04-29T12:06:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serega\_Sheypak](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@Serega\_Sheypak](https://forum.ansible.com/u/Serega_Sheypak)\
**Post date:** [April 29, 2015, 12:06pm UTC](https://forum.ansible.com/t/run-implicit-role-using-ansible/18124/1 "2015-04-29T12:06:27Z")

</div>

Hi, I have a role:

“spark-base”  
role “spark-conf” depends on “spark-base”  
roles “install-workers”, “install-masters” depends on “spark-conf”

Here is dependency tree:

-“spark-base”  
-“spark-conf”  
-“spark-workers”, “spark-masters”

There is a declaration in my playbook:

- hosts: sparkworkers  
roles:
- “install-workers”

Is there any possibility run role “spark-conf” and not create separate playbook for this?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 29, 2015, 3:05pm UTC](https://forum.ansible.com/t/run-implicit-role-using-ansible/18124/2 "2015-04-29T15:05:35Z")

</div>

role dependencies:

[https://docs.ansible.com/playbooks\_roles.html#role-dependencies](https://docs.ansible.com/playbooks_roles.html#role-dependencies)

---

<div class="post-metadata">

**Author:** ![Serega\_Sheypak](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@Serega\_Sheypak](https://forum.ansible.com/u/Serega_Sheypak)\
**Post date:** [April 29, 2015, 6:13pm UTC](https://forum.ansible.com/t/run-implicit-role-using-ansible/18124/3 "2015-04-29T18:13:56Z")

</div>

Hi, thank you. Sorry, I didn’t get the idea.  
Is it allowed to specify tag in dependency?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 29, 2015, 9:50pm UTC](https://forum.ansible.com/t/run-implicit-role-using-ansible/18124/4 "2015-04-29T21:50:24Z")

</div>

no
