Run "implicit" role using Ansible

41 views
Skip to first unread message

Serega Sheypak

unread,
Apr 29, 2015, 8:06:27 AM4/29/15
to ansible...@googlegroups.com
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?

Brian Coca

unread,
Apr 29, 2015, 11:05:40 AM4/29/15
to ansible...@googlegroups.com

Serega Sheypak

unread,
Apr 29, 2015, 2:14:21 PM4/29/15
to ansible...@googlegroups.com
Hi, thank you. Sorry, I didn't get the idea.
Is it allowed to specify tag in dependency? 


--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/FGvl1DKBEaY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DNQ4%3DANOgrkqe5k5b814nWesUJVK67BHzRbTeA9_uDdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Brian Coca

unread,
Apr 29, 2015, 5:50:27 PM4/29/15
to ansible...@googlegroups.com
no
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CABNOTEXTZXvp5FHm36qEoSGbMeOr_DXkGCLYLQ7mwY8FJfbGKg%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages