Yes that sounds very close to what I am trying to do. I can see how doing that with a template and a host_vars file would simplify it. Thank you for your input
On Monday, August 28, 2017 at 1:15:48 PM UTC-6, Uwe Sauter wrote: > > I have a template for ifcfg-* files where I not only fill in DNS entries > but also all the other network configuration > stuff. I put this into a role and all variables are in host_vars/*.yaml > files. Every time I wish to change the > configuration I change the host_vars file and reapply the role (which > creates a new ifcfg file from the template with > the new settings). > > -- 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/39b641e9-079a-4e5d-ba93-209c1b3e2e31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
