mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-09 17:07:44 +01:00
6 lines
161 B
Django/Jinja
6 lines
161 B
Django/Jinja
backend web_servers
|
|
balance roundrobin
|
|
{% for host in groups.webservers %}
|
|
server {{ host }} {{ host }}:{{ hostvars[host].http_port }}
|
|
{% endfor %}
|
|
|