mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
shut the log up for #3278
This commit is contained in:
parent
cf2b5a4097
commit
eb3c0a2684
4 changed files with 6 additions and 3 deletions
|
@ -95,6 +95,8 @@
|
|||
#- debug:
|
||||
# var: nd_dir
|
||||
|
||||
# networkd-dispatcher not enabled for is_linuxmint https://github.com/iiab/iiab/issues/3278
|
||||
# might need the same dispatcher treatment using networkmanager-dispatcher to bring up dnsmasq or look at dnsmasq-iiab
|
||||
- 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 or later) (root:root by default)
|
||||
template:
|
||||
src: roles/network/templates/network/dnsmasq.sh.j2
|
||||
|
@ -107,7 +109,7 @@
|
|||
#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")
|
||||
|
||||
- name: Remove /etc/dnsmasq.d/iiab.conf, when not dnsmasq_enabled or is Appliance
|
||||
- name: Remove /etc/dnsmasq.d/iiab.conf, when is Appliance
|
||||
file:
|
||||
path: /etc/dnsmasq.d/iiab.conf
|
||||
state: absent
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
systemd:
|
||||
name: "{{ item }}"
|
||||
enabled: no
|
||||
daemon_reload: yes
|
||||
daemon_reload: yes
|
||||
with_items:
|
||||
- iiab-clone-wifi.service
|
||||
- iiab-wifi-test.service
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
package:
|
||||
name: networkd-dispatcher # 15kB download: Dispatcher service for systemd-networkd connection status changes
|
||||
state: present
|
||||
when: not is_raspbian
|
||||
when: not is_raspbian or not is_linuxmint
|
||||
|
||||
# 2021-07-27 from @jvonau: 3 apt packages BELOW (iw, rfkill, wireless-tools)
|
||||
# are provided by RasPiOS. Ubuntu|Debian on the other hand are hit or miss:
|
||||
|
|
|
@ -77,3 +77,4 @@
|
|||
state: restarted
|
||||
enabled: yes
|
||||
masked: no
|
||||
when: not is_linuxmint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue