moved ansible inventory generation out of Vagrant

This commit is contained in:
2022-03-05 12:51:32 +01:00
parent 4bb1d838dd
commit 67efc68362
5 changed files with 30 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
upstream app {
{% for host in groups['webserver'] %}
server {{ hostvars[host]['ipv4_address'] }}:80;
server {{ host }}:80;
{% endfor %}
}