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. 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a4578e7b-74b6-479b-931b-804ea0725939%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to