moved ansible inventory generation out of Vagrant
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
upstream app {
|
||||
{% for host in groups['webserver'] %}
|
||||
server {{ hostvars[host]['ipv4_address'] }}:80;
|
||||
server {{ host }}:80;
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user