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:
parent
f6b2b554cf
commit
ee4ed1b94d
1 changed files with 5 additions and 5 deletions
|
@ -54,14 +54,14 @@
|
||||||
dest: /etc/dnsmasq.d/iiab.conf
|
dest: /etc/dnsmasq.d/iiab.conf
|
||||||
when: dnsmasq_enabled and dnsmasq_install and (iiab_network_mode != "Appliance")
|
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:
|
template:
|
||||||
src: "roles/network/templates/network/dnsmasq.sh.j2"
|
src: roles/network/templates/network/dnsmasq.sh.j2
|
||||||
dest: "/etc/networkd-dispatcher/routable.d/dnsmasq.sh"
|
dest: /etc/networkd-dispatcher/routable.d/dnsmasq.sh
|
||||||
mode: "0755"
|
mode: 0755
|
||||||
owner: root
|
owner: root
|
||||||
group: 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
|
- name: Remove /etc/dnsmasq.d/iiab.conf, when not dnsmasq_enabled or is Appliance
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue