mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-12 18:27:48 +01:00
7 lines
161 B
Text
7 lines
161 B
Text
|
backend web_servers
|
||
|
balance roundrobin
|
||
|
{% for host in groups.webservers %}
|
||
|
server {{ host }} {{ host }}:{{ hostvars[host].http_port }}
|
||
|
{% endfor %}
|
||
|
|