ansible/roles/dnsmasq/tasks/main.yaml
2022-11-17 10:02:05 +01:00

17 lines
300 B
YAML

---
- name: Install dnsmasq
ansible.builtin.apt:
name: dnsmasq
state: latest
update_cache: true
- name: Enable dnsmasq service
ansible.builtin.service:
name: dnsmasq
state: started
- name: Start dnsmasq service
ansible.builtin.service:
name: dnsmasq
enabled: true