ec2: add tasks for dnsmasq