12 lines
248 B
YAML
12 lines
248 B
YAML
---
|
|
- name: copy dnsmasq config file
|
|
copy:
|
|
src: "{{ inventory_hostname }}/dnsmasq.conf"
|
|
dest: /etc/dnsmasq.conf
|
|
notify: restart-dnsmasq
|
|
|
|
- name: copy dnsmasq resolv config
|
|
copy:
|
|
src: resolv.conf
|
|
dest: /etc/resolv.conf.dnsmasq
|