ansible/roles/dnsmasq/tasks/main.yaml

17 lines
300 B
YAML
Raw Normal View History

---
- 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