changing dnsmasq to lineinfile task