Skip to content
Snippets Groups Projects
Commit 8d96825d authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve networking and firewall in the AWS environment

parent 44a69b8b
No related branches found
No related tags found
No related merge requests found
......@@ -25,10 +25,10 @@ ff02::2 ip6-allrouters
{% endfor %}
{% endif %}
{% endif %}
{% if hostvars[host]['ansible_default_ipv4'] is defined %}
{{hostvars[host]['ansible_default_ipv4']['address']}} {{host}}
{% else %}
{% if hostvars[host]['static_ipv4'] is defined %}
{{hostvars[host]['static_ipv4']}} {{host}}
{% elif hostvars[host]['ansible_default_ipv4'] is defined %}
{{hostvars[host]['ansible_default_ipv4']['address']}} {{host}}
{% endif %}
{% endif %}
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment