Use ansible modules for dns-master instead of sh.