Skip to content

Commit 618f327

Browse files
committed
move systemd-resolved to install.yml
1 parent 1c68b7c commit 618f327

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

roles/network/tasks/install.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
- name: Install dnsmasq -- configure LATER in 'network', after Stage 9
99
include_tasks: roles/network/tasks/dnsmasq.yml # Invoked by 1-prep (so full path needed)
1010

11+
# 2023-10-14 #3657, #3658, #3659: New RasPiOS 12/Bookworm issue.
12+
# FWIW Ubuntu >= 22.10 offers 'systemd-resolved' as a distinct apt package.
13+
# Whereas Ubuntu <= 22.04 bundled the functionality within apt package 'systemd'
14+
# Debian 12/Bookworm (like Ubuntu >= 22.10) offers it as a distinct package:
15+
# https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#systemd-resolved
16+
- name: Install systemd-resolved (or intentionally show red error then continue, if apt package not available)
17+
package:
18+
name: systemd-resolved # 278kB download: For RasPiOS 12/Bookworm
19+
ignore_errors: yes
20+
1121
# 2021-07-27 from @jvonau: 3 apt packages BELOW (iw, rfkill, wireless-tools)
1222
# are provided by RasPiOS. Ubuntu|Debian on the other hand are hit or miss:
1323
# desktops might have some/all 3 preinstalled, while servers tend not to have

roles/network/tasks/sysd-netd-debian.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
# Whereas Ubuntu <= 22.04 bundled the functionality within apt package 'systemd'
99
# Debian 12/Bookworm (like Ubuntu >= 22.10) offers it as a distinct package:
1010
# https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#systemd-resolved
11-
- name: Install systemd-resolved (or intentionally show red error then continue, if apt package not available)
12-
package:
13-
name: systemd-resolved # 278kB download: For RasPiOS 12/Bookworm
14-
ignore_errors: yes
11+
#- name: Install systemd-resolved (or intentionally show red error then continue, if apt package not available)
12+
# package:
13+
# name: systemd-resolved # 278kB download: For RasPiOS 12/Bookworm
14+
# ignore_errors: yes
1515
#shell: apt -y install systemd-resolved || true
1616
#when: is_raspbian and os_ver is version('raspbian-12', '>=')
1717

0 commit comments

Comments
 (0)