Loop on src:
When we have an array such as:
munin_servers:
hosts:
stats0.koumbit.net:
ipv4_addr: 199.58.80.8
monitor.webarch.net:
ipv4_addr: 81.95.52.37
It would be nice to be able to do something like this:
ufw_allow_rules:
- port: 4949
proto: tcp
src: "{{ groups['munin_servers'].ipv4_addr }}"
Rather than we we have to do at the moment:
ufw_allow_rules:
- port: 4949
proto: tcp
src: 199.58.80.8
- port: 4949
proto: tcp
src: 81.95.52.37
But this is not urgent or critical!
Edited by Chris Croome