---
- yum: name=dnsmasq state=present
  sudo: yes

- file: src=dnsmasq.conf dest=/etc/dnsmasq.conf
  sudo: yes
  notify: reload dnsmasq

- service: name=dnsmasq state=started enabled=yes
  sudo: yes

---
- yum: name=dnsmasq state=present
  sudo: yes

- copy: src=dnsmasq.conf dest=/etc/dnsmasq.conf
  sudo: yes
  notify: reload dnsmasq

- service: name=dnsmasq state=started enabled=yes
  sudo: yes

Fix module to call in dnsmasq
Fix module to call in dnsmasq
