Run "implicit" role using Ansible

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?

role dependencies:

https://docs.ansible.com/playbooks_roles.html#role-dependencies

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

no