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:
Alan Orth 2015-08-23 12:06:47 +03:00
parent 9266d48c9f
commit c480075789
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,7 +1,7 @@
<zone> <zone>
<short>Public</short> <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> <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 #} {# ssh rules #}
<rule family="ipv4"> <rule family="ipv4">