1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Revert "shut the log up for #3278"

This reverts commit eb3c0a2684.
This commit is contained in:
Jerry Vonau 2022-10-07 03:24:12 -05:00
parent 5ab9e0ff76
commit cf1869bd11
3 changed files with 2 additions and 5 deletions

View file

@ -95,8 +95,6 @@
#- debug: #- debug:
# var: nd_dir # 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) - 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: template:
src: roles/network/templates/network/dnsmasq.sh.j2 src: roles/network/templates/network/dnsmasq.sh.j2
@ -109,7 +107,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 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")
- name: Remove /etc/dnsmasq.d/iiab.conf, when is Appliance - name: Remove /etc/dnsmasq.d/iiab.conf, when not dnsmasq_enabled or is Appliance
file: file:
path: /etc/dnsmasq.d/iiab.conf path: /etc/dnsmasq.d/iiab.conf
state: absent state: absent

View file

@ -7,7 +7,7 @@
package: package:
name: networkd-dispatcher # 15kB download: Dispatcher service for systemd-networkd connection status changes name: networkd-dispatcher # 15kB download: Dispatcher service for systemd-networkd connection status changes
state: present state: present
when: not is_raspbian or not is_linuxmint when: not is_raspbian
# 2021-07-27 from @jvonau: 3 apt packages BELOW (iw, rfkill, wireless-tools) # 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: # are provided by RasPiOS. Ubuntu|Debian on the other hand are hit or miss:

View file

@ -112,4 +112,3 @@
state: restarted state: restarted
enabled: yes enabled: yes
masked: no masked: no
when: not is_linuxmint