default in template seemed to stop working in 2.0rc4

16 views
Skip to first unread message

pixel fairy

unread,
Jan 7, 2016, 4:22:29 PM1/7/16
to Ansible Project
from template file,

-A INPUT -i {{ ansible_default_ipv4.interface }} -p tcp --dport {{ ansible_port | default (22) }} -j ACCEPT

outputs

-A INPUT -i eth0 -p tcp --dport  -j ACCEPT

setting ansible_port works as normal.
Reply all
Reply to author
Forward
0 new messages