28 maj 2014 22:18 "C. Morgan Hamill" <[email protected]> napisał(a): > > For what it's worth, I simply follow this rule: if data needs to be > accessed from outside a role, then it should go in inventory somewhere > (e.g., group_vars/foo or group_vars/all/foo). > > My 2¢.
This is very good solution too (my nginx role also accounts for this). I would also provide sane default values whenever possible via role/defaults/main.yml to not force configuration upon user if not necessary. Maciej > -- > Morgan Hamill > > -- > 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/1401308228-sup-6309%40al.wesleyan.edu . > For more options, visit https://groups.google.com/d/optout. -- 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/CAEnKK1xQGQvpZBfx8h9z7iEZD40rSvQ2Xu6wwRDzpgmdvBOOwg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
