1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

towards fixing #1778

This commit is contained in:
A Holt 2019-06-27 19:58:10 -04:00 committed by GitHub
parent f6b2b554cf
commit ee4ed1b94d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,14 +54,14 @@
dest: /etc/dnsmasq.d/iiab.conf
when: dnsmasq_enabled and dnsmasq_install and (iiab_network_mode != "Appliance")
- name: Copy script to restart dnsmasq whenever br0 comes up
- name: Copy script to restart dnsmasq whenever br0 comes up, if isn't Appliance (but don't do this on RPi or Ubuntu 16)
template:
src: "roles/network/templates/network/dnsmasq.sh.j2"
dest: "/etc/networkd-dispatcher/routable.d/dnsmasq.sh"
mode: "0755"
src: roles/network/templates/network/dnsmasq.sh.j2
dest: /etc/networkd-dispatcher/routable.d/dnsmasq.sh
mode: 0755
owner: root
group: root
when: dnsmasq_enabled and dnsmasq_install and (iiab_network_mode != "Appliance") and (not is_rpi)
when: dnsmasq_enabled and dnsmasq_install and (iiab_network_mode != "Appliance") and (not is_rpi) and (not is_ubuntu_16)
- name: Remove /etc/dnsmasq.d/iiab.conf, when not dnsmasq_enabled or is Appliance
file: