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