17 lines
300 B
YAML
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
|