1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #3319 from jvonau/ub-net-install-fixes

Set default for use in netplan.yml and wording
This commit is contained in:
A Holt 2022-07-23 15:59:24 -04:00 committed by GitHub
commit 4307f65942
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -3,7 +3,7 @@
- name: Install dnsmasq -- configure LATER in 'network', after Stage 9
include_tasks: roles/network/tasks/dnsmasq.yml # Invoked by 1-prep (so full path needed)
- name: Install package networkd-dispatcher (OS's other than RasPiOS)
- name: Install package networkd-dispatcher (OS's other than RasPiOS and Linux Mint)
package:
name: networkd-dispatcher # 15kB download: Dispatcher service for systemd-networkd connection status changes
state: present

View file

@ -4,6 +4,12 @@
register: netplan
#ignore_errors: True # pre 17.10 doesn't use netplan
# 2022-07-23: PR #3319 "Ubuntu variants [all] use NetworkManager as the backend
# for use with netplan and ship with systemd-networkd present but disabled"
- name: "Force default 'systemd_networkd_active: False' -- nec b/c network/default/main.yml is omitted when 1-prep directly invokes network/tasks/install.yml"
set_fact:
systemd_networkd_active: False
# 2022-07-22: Copied from detected_network.yml (REMOVE DUPLICATE CODE LATER?!)
- name: "Set 'systemd_networkd_active: True' if local_facts.systemd_networkd confirms"
set_fact:

View file

@ -71,7 +71,7 @@
enabled: yes
masked: no
- name: Enable & Restart networkd-dispatcher.service
- name: Enable & Restart networkd-dispatcher.service except for Linux Mint
systemd:
name: networkd-dispatcher
state: restarted