xoxys.dnsmasq/tasks/main.yml
Robert Kaussow 09fe02028b
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci: migrate to woodpecker
2024-02-19 10:43:05 +01:00

19 lines
347 B
YAML

---
- name: Install package
package:
name: dnsmasq
state: present
- name: Create dnsmasq configuration
copy:
content: "{{ dnsmasq_conf }}"
dest: "/etc/dnsmasq.d/local.conf"
mode: "0644"
notify: __dnsmasq_restart
- name: Ensure dnsmasq is up and running
service:
name: dnsmasq
enabled: True
state: started