mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Merge pull request #1318 from holta/dnsmasq+systemd-resolved
Allow systemd-resolved AND dnsmasq to work (for Ubuntu especially)
This commit is contained in:
commit
b306347e3a
3 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
|||
name: dnsmasq
|
||||
state: present
|
||||
|
||||
- name: Install /etc/dnsmasq.d/dnsmasq-iiab, allowing systemd-resolved AND dnsmasq to work (#1306)
|
||||
template:
|
||||
src: roles/network/templates/network/dnsmasq-iiab
|
||||
dest: /etc/dnsmasq.d/dnsmasq-iiab
|
||||
|
||||
#- name: Stop dnsmasq
|
||||
# service:
|
||||
# name: dnsmasq
|
||||
|
|
|
@ -104,3 +104,4 @@
|
|||
systemd:
|
||||
name: "{{ dns_service }}"
|
||||
state: started
|
||||
when: not dnsmasq_enabled # See PR #1303, #1306, PR #1318
|
||||
|
|
1
roles/network/templates/network/dnsmasq-iiab
Normal file
1
roles/network/templates/network/dnsmasq-iiab
Normal file
|
@ -0,0 +1 @@
|
|||
bind-interfaces
|
Loading…
Reference in a new issue