Hello,
when configuring a load balancer for example, with a templated configuration file, how would I go about inserting IP addresses from my inventory file?
I realize that I might not be understanding completely how roles, playbooks, and the inventory file (and variable files) are supposed to divide responsibilities among them, because I generally have a one-to-one-to-many mapping of hosts to playbooks to roles.
For example:
File ‘hosts’ -----
[db-machine]
<IP #1>
[webserver]
<IP #2>