I am using the roles + site.yml recommended setup. Most, but not all boxes run telegraf (a stats collector), which is defined as an inventory group as a (tagged) role in site.yml.
In my Redis role, if the current host has the telegraf role I'd like to add a file a folder (so Telegraf will pick it up) and refresh the telegraf service. Here is where it gets tricky - I would basically call out to a different role - what is the way to do this in Ansible? -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4673802a-da95-4bc4-9c53-ac33c4bc1860%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.