{{ sophos_api_username }} {{ sophos_api_password }} {{ 'Enable' if sophos_snmp.enabled | default(false) else 'Disable' }} {{ sophos_snmp.version | default('v2c') }} {% if sophos_snmp.version | default('v2c') == 'v2c' %} {{ sophos_snmp.community }} {% endif %} {{ sophos_snmp.location | default('') }} {{ sophos_snmp.contact | default('') }} {% if sophos_snmp.allowed_networks is defined %} {% for network in sophos_snmp.allowed_networks %} {{ network }} {% endfor %} {% endif %} {% if sophos_snmp.trap_destinations is defined %} {% for trap in sophos_snmp.trap_destinations %} {{ trap.host }} {{ trap.port | default(162) }} {{ trap.community }} {% endfor %} {% endif %}