This repository has been archived on 2021-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-server/roles/dnsmasq/tasks/config.yml

12 lines
248 B
YAML
Raw Normal View History

2019-03-31 15:25:33 +02:00
---
- 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