roles/common: Use "interface" instead of "alias" to get interface name in firewalld template

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2015-08-23 12:06:47 +03:00
parent 9266d48c9f
commit c480075789

View File

@ -1,7 +1,7 @@
<zone>
<short>Public</short>
<description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
<interface name="{{ ansible_default_ipv4.alias }}"/>
<interface name="{{ ansible_default_ipv4.interface }}"/>
{# ssh rules #}
<rule family="ipv4">