Hi Branko, Yeah, I stumbled onto host_vars during my trial and error approach so that's where it all ended up.
Many thanks for getting back to me - confirming my conclusion/finding. Cheers, Mike On Wed, Jul 26, 2017 at 8:58 PM Branko Majic <[email protected]> wrote: > On Fri, 21 Jul 2017 11:28:05 +0000 > Mike Eriksson <[email protected]> wrote: > > > All, > > > > I'm after some advice here on the best way of getting a template file > > populated with one or more network ranges based on the host the file > > is copied onto. > > Have you considered using host_vars/group_vars to define the ranges? > Since this sounds like rather natural place to set these values at > (allowing you to more easily reconfigure as needed without touching > role internals). > > Best regards > > -- > Branko Majic > XMPP: [email protected] > Please use only Free formats when sending attachments to me. > > Бранко Мајић > XMPP: [email protected] > Молим вас да додатке шаљете искључиво у слободним форматима. > > -- > 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/20170726215911.31c018c9%40majic.rs > . > 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/CAMuthMfYXVHR994M%3DpODvOYOZ0KLTZu3bhXv7JZvfOC2UcEaKQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
