xoxys.dnsmasq/tasks/main.yml
Robert Kaussow d55fc84fe9
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/docs unknown status
ci/woodpecker/push/notify Pipeline was successful
refctor: rework ci to ue ansible-lint and fix molecule
2024-08-19 10:25:06 +02:00

19 lines
395 B
YAML

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