Hi, I think that you have to find best way which works for you.
For example I have to setup quite a lot munin symlinks for checks which depends of server role. 1. Running this via ansible was really slow and caused quite complicated solution in terms of map links to roles. 2. So I decided to write SHell template - which allow much easier setup conditions and control what must be run when server belong to some goup, and then in role have following tasks. - Copy shell script from template (during copy - ansible genertes everything what is requried in terms of symlinks for munin). - Run shell script. This solution is fast for ansible now and all what I have to do is update template if some sym links must be adjusted (added /removed). Hope that will help you as well. Best regards, Marcin Praczko -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ab6ac35f-f9a9-4444-bd84-cd13cbc57ace%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
