mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
remove dnsmasq workaround for br0 being down at boot
This commit is contained in:
parent
7e5ce367a2
commit
3725969686
1 changed files with 12 additions and 12 deletions
|
@ -79,23 +79,23 @@
|
||||||
#- debug:
|
#- debug:
|
||||||
# var: nd_enabled
|
# var: nd_enabled
|
||||||
|
|
||||||
- name: Check if /etc/networkd-dispatcher/routable.d exists
|
#- name: Check if /etc/networkd-dispatcher/routable.d exists
|
||||||
stat:
|
# stat:
|
||||||
path: /etc/networkd-dispatcher/routable.d
|
# path: /etc/networkd-dispatcher/routable.d
|
||||||
register: nd_dir
|
# register: nd_dir
|
||||||
|
|
||||||
#- debug:
|
#- debug:
|
||||||
# var: nd_dir
|
# var: nd_dir
|
||||||
|
|
||||||
#- name: To restart dnsmasq whenever br0 comes up, install /etc/networkd-dispatcher/routable.d/dnsmasq.sh from template (if isn't Appliance, and networkd-dispatcher is enabled, and directory /etc/networkd-dispatcher/routable.d exists, i.e. OS's like Ubuntu 18.04)
|
#- name: To restart dnsmasq whenever br0 comes up, install /etc/networkd-dispatcher/routable.d/dnsmasq.sh from template (if isn't Appliance, and networkd-dispatcher is enabled, and directory /etc/networkd-dispatcher/routable.d exists, i.e. OS's like Ubuntu 18.04)
|
||||||
- name: To restart dnsmasq whenever br0 comes up, install /etc/networkd-dispatcher/routable.d/dnsmasq.sh from template (if isn't Appliance, and directory /etc/networkd-dispatcher/routable.d exists, i.e. OS's like Ubuntu 18.04)
|
#- name: To restart dnsmasq whenever br0 comes up, install /etc/networkd-dispatcher/routable.d/dnsmasq.sh from template (if isn't Appliance, and directory /etc/networkd-dispatcher/routable.d exists, i.e. OS's like Ubuntu 18.04)
|
||||||
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_install and dnsmasq_enabled and nd_dir.stat.exists and nd_dir.stat.isdir and (iiab_network_mode != "Appliance")
|
# when: dnsmasq_install and dnsmasq_enabled and nd_dir.stat.exists and nd_dir.stat.isdir and (iiab_network_mode != "Appliance")
|
||||||
#when: dnsmasq_install and dnsmasq_enabled and nd_enabled is defined and nd_enabled.stdout == "enabled" and nd_dir.stat.exists and nd_dir.stat.isdir and (iiab_network_mode != "Appliance")
|
#when: dnsmasq_install and dnsmasq_enabled and nd_enabled is defined and nd_enabled.stdout == "enabled" and nd_dir.stat.exists and nd_dir.stat.isdir and (iiab_network_mode != "Appliance")
|
||||||
#when: dnsmasq_install and dnsmasq_enabled and systemd_out.status.UnitFileState == "enabled" and networkd_dir.stat.exists and networkd_dir.stat.isdir and (iiab_network_mode != "Appliance")
|
#when: dnsmasq_install and dnsmasq_enabled and systemd_out.status.UnitFileState == "enabled" and networkd_dir.stat.exists and networkd_dir.stat.isdir and (iiab_network_mode != "Appliance")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue