bugzilla/ansible/roles/dnsmasq/tasks/main.yml
Tiara Rodney 883f31932e
init
2026-03-14 05:38:45 +01:00

20 lines
357 B
YAML

---
-
name: Install dnsmasq
apt:
name: dnsmasq
state: present
-
name: Deploy dnsmasq configuration
template:
src: dnsmasq.conf.j2
dest: /etc/dnsmasq.d/local.conf
notify: restart dnsmasq
-
name: Ensure dnsmasq is running
service:
name: dnsmasq
state: started
enabled: yes