[%
    FOREACH host IN hosts;
        SET host.fqdn = host.ip UNLESS host.fqdn.defined;
	SET host.snmp_community = variable.snmp_community UNLESS host.snmp_community.defined -%]
[% host.fqdn | lower %]	[% host.snmp_community %]
[%  END -%]
